Class Page<TItem>
- Namespace
- Auth0.ManagementApi.Core
- Assembly
- Auth0.ManagementApi.dll
A single Page<TItem> of items from a request that may return zero or more Page<TItem>s of items.
public class Page<TItem> : IEnumerable<TItem>, IEnumerable
Type Parameters
TItemThe type of items.
- Inheritance
-
Page<TItem>
- Implements
-
IEnumerable<TItem>
- Inherited Members
- Extension Methods
Constructors
Page(IReadOnlyList<TItem>)
Creates a new Page<TItem> with the specified items.
public Page(IReadOnlyList<TItem> items)
Parameters
itemsIReadOnlyList<TItem>
Properties
Empty
An empty Page<TItem>.
public static Page<TItem> Empty { get; }
Property Value
- Page<TItem>
IsEmpty
Indicates whether this Page<TItem> is empty.
public bool IsEmpty { get; }
Property Value
Items
Gets the items in this Page<TItem>.
public IReadOnlyList<TItem> Items { get; }
Property Value
- IReadOnlyList<TItem>
Methods
GetEnumerator()
Enumerate the items in this Page<TItem>.
public IEnumerator<TItem> GetEnumerator()
Returns
- IEnumerator<TItem>