RunicRowPage<TRow> record

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed record RunicRowPage<TRow> : IEquatable<RunicRowPage<TRow>>

Inherits or implements IEquatable.

The rows a IRunicRowSource loaded for a range.

Type parameters

TRow

The row type.

Parameters

Rows

The rows, at most the range's count.

Total

The number of rows that match the query, when the load learned it, or null.

Constructors

RunicRowPage

public RunicRowPage(IReadOnlyList<TRow> Rows, int? Total = null)

The rows a IRunicRowSource loaded for a range.

Type parameters

TRow

The row type.

Parameters

Rows

The rows, at most the range's count.

Total

The number of rows that match the query, when the load learned it, or null.

Properties

Rows

public IReadOnlyList<TRow> Rows { get; init; }

The rows, at most the range's count.

Total

public int? Total { get; init; }

The number of rows that match the query, when the load learned it, or null.