Table of Contents

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

TItem

The type of items.

Inheritance
Page<TItem>
Implements
Inherited Members
Extension Methods

Constructors

Page(IReadOnlyList<TItem>)

Creates a new Page<TItem> with the specified items.

public Page(IReadOnlyList<TItem> items)

Parameters

items IReadOnlyList<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

bool

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>