Class PaginationWrapper<TType>
Represents a wrapper for pagination results
Type Parameters
| Name | Description |
|---|---|
| TType | The type being wrapped |
Constructors
PaginationWrapper(IList<TType>, Int64, Int64)
Constructs a PaginationWrapper
Declaration
public PaginationWrapper(IList<TType> values, long total, long durationMillis)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IList<TType> | values | The values |
| System.Int64 | total | The total |
| System.Int64 | durationMillis | The duration in ms |
Properties
DurationMillis
The duration for the lookup
Declaration
public long DurationMillis { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Total
The total number of results
Declaration
public long Total { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Values
The values
Declaration
public IList<TType> Values { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<TType> |