Table of Contents

Class PagedResult<T>

Namespace
MegaForm.Sdk
Assembly
MegaForm.Sdk.dll

A page of results plus the total count for the query.

public sealed class PagedResult<T>

Type Parameters

T

Item type.

Inheritance
PagedResult<T>
Inherited Members

Properties

Items

Items on the current page.

public IReadOnlyList<T> Items { get; set; }

Property Value

IReadOnlyList<T>

Page

Current page number (1-based).

public int Page { get; set; }

Property Value

int

PageSize

Number of items per page.

public int PageSize { get; set; }

Property Value

int

TotalCount

Total number of items matching the query across all pages.

public int TotalCount { get; set; }

Property Value

int