Class CheckpointPagedList<T>
- Namespace
- Auth0.ManagementApi.Paging
- Assembly
- Auth0.ManagementApi.dll
public class CheckpointPagedList<T> : List<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IList, ICollection, ICheckpointPagedList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
Type of item to list.
- Inheritance
-
List<T>CheckpointPagedList<T>
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Inherited Members
Constructors
CheckpointPagedList()
Initializes a new instance of the PagedList<T> class that is empty.
public CheckpointPagedList()
CheckpointPagedList(IEnumerable<T>)
Initializes a new instance of the PagedList<T> class that contains elements copied from the specified collection.
public CheckpointPagedList(IEnumerable<T> collection)
Parameters
collection
IEnumerable<T>The collection whose elements are copied to the new list.
Exceptions
- ArgumentNullException
collection
is null.
CheckpointPagedList(IEnumerable<T>, CheckpointPagingInformation)
Initializes a new instance of the PagedList<T> class that contains elements copied from the specified collection.
public CheckpointPagedList(IEnumerable<T> collection, CheckpointPagingInformation paging)
Parameters
collection
IEnumerable<T>The collection whose elements are copied to the new list.
paging
CheckpointPagingInformationInformation about the current page of information contained in the list.
Exceptions
- ArgumentNullException
collection
is null.
CheckpointPagedList(int)
Initializes a new instance of the PagedList<T> class that is empty.
public CheckpointPagedList(int capacity)
Parameters
capacity
intThe 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 CheckpointPagingInformation Paging { get; set; }