Table of Contents

Interface IPaginator

Namespace
AbanoubNassem.Trinity.RequestHelpers
Assembly
AbanoubNassem.Trinity.dll

Represents an interface for pagination functionality.

public interface IPaginator

Properties

CurrentPage

Gets or sets the current page number.

int CurrentPage { get; set; }

Property Value

int

The current page number.

Data

Gets or sets the data associated with the current page.

IEnumerable Data { get; set; }

Property Value

IEnumerable

The data associated with the current page.

PerPage

Gets or sets the number of items to display per page.

int PerPage { get; set; }

Property Value

int

The number of items to display per page.

TotalCount

Gets or sets the total number of items in the pagination result set.

int TotalCount { get; set; }

Property Value

int

The total number of items in the pagination result set.

TotalPages

Gets or sets the total number of pages in the pagination result set.

int TotalPages { get; set; }

Property Value

int

The total number of pages in the pagination result set.