Table of Contents

PaginationEnumerable Constructor

Definition

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

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

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