ReplPageRequest
Request sent to a page source.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ResultFlow/ReplPageRequest.cs
Signature
Section titled “Signature”public sealed record ReplPageRequest : IEquatable<ReplPageRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<ReplPageRequest>
Extension Methods
Section titled “Extension Methods”Page<T>(ReplPageRequest, IReadOnlyList<T>, string, long?)
Constructors
Section titled “Constructors”ReplPageRequest(int, string?, int?, bool, ReplResultSurface)
Section titled “ReplPageRequest(int, string?, int?, bool, ReplResultSurface)”Request sent to a page source.
public ReplPageRequest(int PageSize, string? Cursor, int? VisibleRowCapacityHint, bool AllRequested, ReplResultSurface Surface)Parameters
Section titled “Parameters”PageSize(int): Requested page size.Cursor(string): Opaque cursor for continuation.VisibleRowCapacityHint(int?): Best-effort visible row capacity for the output surface.AllRequested(bool): Whether the caller requested all available rows.Surface(ReplResultSurface): Output surface requesting the page.
Properties
Section titled “Properties”AllRequested
Section titled “AllRequested”Whether the caller requested all available rows.
public bool AllRequested { get; init; }Returns
Section titled “Returns”Cursor
Section titled “Cursor”Opaque cursor for continuation.
public string? Cursor { get; init; }Returns
Section titled “Returns”PageSize
Section titled “PageSize”Requested page size.
public int PageSize { get; init; }Returns
Section titled “Returns”Surface
Section titled “Surface”Output surface requesting the page.
public ReplResultSurface Surface { get; init; }Returns
Section titled “Returns”VisibleRowCapacityHint
Section titled “VisibleRowCapacityHint”Best-effort visible row capacity for the output surface.
public int? VisibleRowCapacityHint { get; init; }Returns
Section titled “Returns”int?