Class QueryResult<T>
- Namespace
- Fdyay.IdentityServer.Stores
- Assembly
- Fdyay.IdentityServer.Core.dll
One page, and enough to render the pager around it.
public class QueryResult<T>
Type Parameters
T
- Inheritance
-
QueryResult<T>
- Inherited Members
Properties
Page
Which page this is, one-based, as the store applied it.
public required int Page { get; init; }
Property Value
PageSize
The page size the store applied.
public required int PageSize { get; init; }
Property Value
Results
The items on this page.
public required IReadOnlyCollection<T> Results { get; init; }
Property Value
TotalCount
Total matches, not the size of this page.
public required int TotalCount { get; init; }
Property Value
TotalPages
How many pages TotalCount fills at PageSize; 0 when PageSize is 0 or less.
public int TotalPages { get; }