Table of Contents

PaginationList Constructor

Definition

PaginationList(IEnumerable<T>, Func<int>, Action<PaginationOptions>)

Initializes a new instance of the PaginationList<T> class.

public PaginationList(IEnumerable<T> source, Func<int> totalElementCounter, Action<PaginationOptions> setup = null)

Parameters

source IEnumerable<T>

The sequence to turn into a page.

totalElementCounter Func<int>

The total element counter.

setup Action<PaginationOptions>

The PaginationOptions which may be configured.