Table of Contents

Class PagedList<T>

Namespace
Auth0.ManagementApi.Paging
Assembly
Auth0.ManagementApi.dll
public class PagedList<T> : List<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IList, ICollection, IPagedList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T

Type of item to list.

Inheritance
List<T>
PagedList<T>
Implements
Inherited Members

Constructors

PagedList()

Initializes a new instance of the PagedList<T> class that is empty.

public PagedList()

PagedList(IEnumerable<T>)

Initializes a new instance of the PagedList<T> class that contains elements copied from the specified collection.

public PagedList(IEnumerable<T> collection)

Parameters

collection IEnumerable<T>

The collection whose elements are copied to the new list.

Exceptions

ArgumentNullException

collection is null.

PagedList(IEnumerable<T>, PagingInformation)

Initializes a new instance of the PagedList<T> class that contains elements copied from the specified collection.

public PagedList(IEnumerable<T> collection, PagingInformation paging)

Parameters

collection IEnumerable<T>

The collection whose elements are copied to the new list.

paging PagingInformation

Information about the current page of information contained in the list.

Exceptions

ArgumentNullException

collection is null.

PagedList(int)

Initializes a new instance of the PagedList<T> class that is empty.

public PagedList(int capacity)

Parameters

capacity int

The number of elements that the new list can initially store.

Exceptions

ArgumentOutOfRangeException

capacity is less than 0.

Properties

Paging

Information about how many items exist, which page this is etc.

public PagingInformation Paging { get; set; }

Property Value

PagingInformation