Struct TwTableRowsPage<TItem>
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
The rows on the current page of a TwTableRows<TItem>, the context of PageTemplate.
public readonly struct TwTableRowsPage<TItem> : IEquatable<TwTableRowsPage<TItem>>
Type Parameters
TItemThe type of the rows.
- Implements
-
IEquatable<TwTableRowsPage<TItem>>
- Inherited Members
Constructors
TwTableRowsPage(IReadOnlyList<TwTableRow<TItem>>)
The rows on the current page of a TwTableRows<TItem>, the context of PageTemplate.
public TwTableRowsPage(IReadOnlyList<TwTableRow<TItem>> Rows)
Parameters
RowsIReadOnlyList<TwTableRow<TItem>>The rows to render, in order.
Properties
Rows
The rows to render, in order.
public IReadOnlyList<TwTableRow<TItem>> Rows { get; init; }
Property Value
- IReadOnlyList<TwTableRow<TItem>>
Methods
Deconstruct(out IReadOnlyList<TwTableRow<TItem>>)
public void Deconstruct(out IReadOnlyList<TwTableRow<TItem>> Rows)
Parameters
RowsIReadOnlyList<TwTableRow<TItem>>
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(TwTableRowsPage<TItem>)
public bool Equals(TwTableRowsPage<TItem> other)
Parameters
otherTwTableRowsPage<TItem>
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TwTableRowsPage<TItem>, TwTableRowsPage<TItem>)
public static bool operator ==(TwTableRowsPage<TItem> left, TwTableRowsPage<TItem> right)
Parameters
leftTwTableRowsPage<TItem>rightTwTableRowsPage<TItem>
Returns
operator !=(TwTableRowsPage<TItem>, TwTableRowsPage<TItem>)
public static bool operator !=(TwTableRowsPage<TItem> left, TwTableRowsPage<TItem> right)
Parameters
leftTwTableRowsPage<TItem>rightTwTableRowsPage<TItem>