Class PagedResult<T>
- Namespace
- Quartz
- Assembly
- Quartz.dll
One page of results for a PagedQuery.
public sealed record PagedResult<T> : IEquatable<PagedResult<T>>
Type Parameters
T
- Inheritance
-
PagedResult<T>
- Implements
- Inherited Members
Constructors
PagedResult(IReadOnlyList<T>, bool, int?)
One page of results for a PagedQuery.
public PagedResult(IReadOnlyList<T> Items, bool HasMore, int? TotalCount = null)
Parameters
ItemsIReadOnlyList<T>The items on this page, ordered by group and then name (ordinal).
HasMoreboolWhether more items match beyond this page. Stores determine this by reading one item past Take, so it is exact and costs nothing extra.
TotalCountint?The total number of matching items regardless of paging; populated only when the query set IncludeTotalCount.
Properties
HasMore
Whether more items match beyond this page. Stores determine this by reading one item past Take, so it is exact and costs nothing extra.
public bool HasMore { get; init; }
Property Value
Items
The items on this page, ordered by group and then name (ordinal).
public IReadOnlyList<T> Items { get; init; }
Property Value
TotalCount
The total number of matching items regardless of paging; populated only when the query set IncludeTotalCount.
public int? TotalCount { get; init; }
Property Value
- int?