Table of Contents

Class Pagination

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

Represents a pagination class that implements the IPaginator interface.

public class Pagination : IPaginator
Inheritance
Pagination
Implements
Inherited Members

Properties

CurrentPage

Gets or sets the current page number.

public int CurrentPage { get; set; }

Property Value

int

The current page number.

Data

Gets or sets the data associated with the current page.

public 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.

public 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.

public 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.

public int TotalPages { get; set; }

Property Value

int

The total number of pages in the pagination result set.