Table of Contents

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

Items IReadOnlyList<T>

The items on this page, ordered by group and then name (ordinal).

HasMore bool

Whether more items match beyond this page. Stores determine this by reading one item past Take, so it is exact and costs nothing extra.

TotalCount int?

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

bool

Items

The items on this page, ordered by group and then name (ordinal).

public IReadOnlyList<T> Items { get; init; }

Property Value

IReadOnlyList<T>

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?