ReplPageInfo
Metadata describing one page of a result set.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ResultFlow/ReplPageInfo.cs
Signature
Section titled “Signature”public sealed record ReplPageInfo : IEquatable<ReplPageInfo>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<ReplPageInfo>
Constructors
Section titled “Constructors”ReplPageInfo(string?, string?, long?, int)
Section titled “ReplPageInfo(string?, string?, long?, int)”Metadata describing one page of a result set.
public ReplPageInfo(string? Cursor, string? NextCursor, long? TotalCount, int PageSize)Parameters
Section titled “Parameters”Cursor(string): Cursor used to fetch the current page.NextCursor(string): Cursor that fetches the next page, when available.TotalCount(long?): Total result count, when known.PageSize(int): Requested or effective page size.
Properties
Section titled “Properties”Cursor
Section titled “Cursor”Cursor used to fetch the current page.
public string? Cursor { get; init; }Returns
Section titled “Returns”HasMore
Section titled “HasMore”Gets a value indicating whether another page is available.
public bool HasMore { get; }Returns
Section titled “Returns”NextCursor
Section titled “NextCursor”Cursor that fetches the next page, when available.
public string? NextCursor { get; init; }Returns
Section titled “Returns”PageSize
Section titled “PageSize”Requested or effective page size.
public int PageSize { get; init; }Returns
Section titled “Returns”TotalCount
Section titled “TotalCount”Total result count, when known.
public long? TotalCount { get; init; }Returns
Section titled “Returns”long?