Table of Contents

Class ListResult<T>

Namespace
VpnHood.Net.Toolkit.Generics
Assembly
VpnHood.Net.Toolkit.dll

Represents one page of a list, with the size of the whole list.

public sealed class ListResult<T>

Type Parameters

T

The type of the items.

Inheritance
ListResult<T>
Inherited Members

Properties

Items

Gets the page's items.

public required IReadOnlyList<T> Items { get; init; }

Property Value

IReadOnlyList<T>

TotalCount

Gets the number of items in the whole list.

public required int TotalCount { get; init; }

Property Value

int