IReplPagingContext
Provides paging intent and output-capacity hints to command handlers.
- Kind:
Interface - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ResultFlow/IReplPagingContext.cs
Signature
Section titled “Signature”public interface IReplPagingContextExtension Methods
Section titled “Extension Methods”CreateSource<T>(IReplPagingContext, Func<ReplPageRequest, CancellationToken, ValueTask<ReplPage<T>>>)Page<T>(IReplPagingContext, IReadOnlyList<T>, string, long?)
Properties
Section titled “Properties”AllRequested
Section titled “AllRequested”Gets a value indicating whether the caller explicitly requested all available rows.
bool AllRequested { get; }Returns
Section titled “Returns”Cursor
Section titled “Cursor”Gets the opaque cursor supplied by the caller, when continuing a paged result.
string? Cursor { get; }Returns
Section titled “Returns”MaxPageSize
Section titled “MaxPageSize”Gets the maximum page size allowed by the current application configuration.
int MaxPageSize { get; }Returns
Section titled “Returns”SuggestedPageSize
Section titled “SuggestedPageSize”Gets the page size suggested for the current invocation.
int SuggestedPageSize { get; }Returns
Section titled “Returns”Surface
Section titled “Surface”Gets the kind of output surface driving this invocation.
ReplResultSurface Surface { get; }Returns
Section titled “Returns”VisibleRowCapacityHint
Section titled “VisibleRowCapacityHint”Gets a best-effort hint for the number of data rows the current output surface can show.
int? VisibleRowCapacityHint { get; }Returns
Section titled “Returns”int?