Struct TwTableRowsResult<TItem>
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
The rows a TwTableRowsProvider<TItem> loaded.
public readonly struct TwTableRowsResult<TItem> : IEquatable<TwTableRowsResult<TItem>>
Type Parameters
TItemThe type of the rows.
- Implements
-
IEquatable<TwTableRowsResult<TItem>>
- Inherited Members
Constructors
TwTableRowsResult(IReadOnlyList<TItem>, int)
The rows a TwTableRowsProvider<TItem> loaded.
public TwTableRowsResult(IReadOnlyList<TItem> Items, int TotalCount)
Parameters
ItemsIReadOnlyList<TItem>The rows asked for.
TotalCountintHow many rows there are in total, across every page.
Properties
Items
The rows asked for.
public IReadOnlyList<TItem> Items { get; init; }
Property Value
- IReadOnlyList<TItem>
TotalCount
How many rows there are in total, across every page.
public int TotalCount { get; init; }
Property Value
Methods
Deconstruct(out IReadOnlyList<TItem>, out int)
public void Deconstruct(out IReadOnlyList<TItem> Items, out int TotalCount)
Parameters
ItemsIReadOnlyList<TItem>TotalCountint
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(TwTableRowsResult<TItem>)
public bool Equals(TwTableRowsResult<TItem> other)
Parameters
otherTwTableRowsResult<TItem>
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TwTableRowsResult<TItem>, TwTableRowsResult<TItem>)
public static bool operator ==(TwTableRowsResult<TItem> left, TwTableRowsResult<TItem> right)
Parameters
leftTwTableRowsResult<TItem>rightTwTableRowsResult<TItem>
Returns
operator !=(TwTableRowsResult<TItem>, TwTableRowsResult<TItem>)
public static bool operator !=(TwTableRowsResult<TItem> left, TwTableRowsResult<TItem> right)
Parameters
leftTwTableRowsResult<TItem>rightTwTableRowsResult<TItem>