Table of Contents

Class PaginationWrapper<TType>

Namespace
Si.Srp.Models.Common.DTO
Assembly
Si.Srp.Models.Common.dll

Represents a wrapper for pagination results

public class PaginationWrapper<TType> where TType : class

Type Parameters

TType

The 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

values IList<TType>

The values

total long

The total

durationMillis long

The duration in ms

Properties

DurationMillis

The duration for the lookup

public long DurationMillis { get; }

Property Value

long

Total

The total number of results

public long Total { get; }

Property Value

long

Values

The values

public IList<TType> Values { get; }

Property Value

IList<TType>