Table of Contents

Class ContinuedResult<T>

Namespace
eQuantic.Core.Data.Repository
Assembly
eQuantic.Core.Data.dll

A single page of a token-continued read: the items plus the opaque token that resumes after them. Unlike PagedResult<T> there is no total count — that is the point: the store walks its native paging path (Cassandra PagingState, Cosmos continuation) instead of counting and skipping, so deep pages cost the same as the first one.

public sealed class ContinuedResult<T>

Type Parameters

T

The type of the items in the page.

Inheritance
ContinuedResult<T>
Inherited Members

Constructors

ContinuedResult(IReadOnlyList<T>, string?)

Initializes the page.

public ContinuedResult(IReadOnlyList<T> items, string? continuationToken)

Parameters

items IReadOnlyList<T>

The items in this page.

continuationToken string

The opaque token resuming after this page, or null when exhausted.

Properties

ContinuationToken

The opaque, serializable token that resumes the read after this page, or null when the read is exhausted. Treat it as a black box: pass it back unchanged.

public string? ContinuationToken { get; }

Property Value

string

Items

The items in this page.

public IReadOnlyList<T> Items { get; }

Property Value

IReadOnlyList<T>