Table of Contents

Class Page

Namespace
Trellis
Assembly
Trellis.Core.dll

Non-generic factory companion for Page<T>. Mirrors the Result / Result<T> split: factory methods live on the non-generic type to keep generic-type surface minimal (CA1000) and to allow type inference at the call site.

public static class Page
Inheritance
Page
Inherited Members

Methods

Empty<T>(int, int)

An empty page (no items, no cursors) for the supplied limits.

public static Page<T> Empty<T>(int requestedLimit, int appliedLimit)

Parameters

requestedLimit int
appliedLimit int

Returns

Page<T>

Type Parameters

T