Class PaginationWrapper<TType>
Represents a wrapper for pagination results
public class PaginationWrapper<TType> where TType : class
Type Parameters
TTypeThe type being wrapped
- Inheritance
-
PaginationWrapper<TType>
- Inherited Members
Constructors
PaginationWrapper(IList<TType>, long, long)
Constructs a PaginationWrapper
public PaginationWrapper(IList<TType> values, long total, long durationMillis)
Parameters
Properties
DurationMillis
The duration for the lookup
public long DurationMillis { get; }
Property Value
Total
The total number of results
public long Total { get; }
Property Value
Values
The values
public IList<TType> Values { get; }
Property Value
- IList<TType>