Table of Contents

Class QueryResult<T>

Namespace
Duende.IdentityServer.Models
Assembly
Duende.IdentityServer.Storage.dll

Query result for paged data

public class QueryResult<T>

Type Parameters

T
Inheritance
QueryResult<T>
Inherited Members

Constructors

QueryResult()

public QueryResult()

Properties

CurrentPage

The current (if available).

public int? CurrentPage { get; init; }

Property Value

int?

HasNextResults

True if there is another set of results.

public bool HasNextResults { get; set; }

Property Value

bool

HasPrevResults

True if there is a previous set of results.

public bool HasPrevResults { get; set; }

Property Value

bool

Results

The results.

public IReadOnlyCollection<T> Results { get; init; }

Property Value

IReadOnlyCollection<T>

ResultsToken

The token that indicates these results. This is used for more results in subsequent queries. If null, then there were no more results.

public string ResultsToken { get; init; }

Property Value

string

TotalCount

The total count (if available).

public int? TotalCount { get; init; }

Property Value

int?

TotalPages

The total pages (if available).

public int? TotalPages { get; init; }

Property Value

int?