IPagedEnumerable<T> Interface

Definition

Exposes enumerators for a paged collection. These enumerators support simple iteration over a paged collection of a specified type.

Paged collections are backed by one or more calls to the Batch Service.
Each of these calls can return a variable sized page of data which is then consumed by the enumerator.

public interface IPagedEnumerable<T> : System.Collections.Generic.IEnumerable<T>
type IPagedEnumerable<'T> = interface
    interface seq<'T>
    interface IEnumerable
Public Interface IPagedEnumerable(Of T)
Implements IEnumerable(Of T)

Type Parameters

T

The type of objects to enumerate.

Implements
System.Collections.Generic.IEnumerable<T> System.Collections.IEnumerable

Methods

GetPagedEnumerator()

Returns an asynchronous enumerator that iterates through the paged collection.

Extension Methods

ForEachAsync<T>(IPagedEnumerable<T>, Action<T>, CancellationToken)

Iterates over an IPagedEnumerable<T> sequence, invoking a synchronous delegate for each element.

ForEachAsync<T>(IPagedEnumerable<T>, Func<T,CancellationToken,Task>, CancellationToken)

Iterates over an IPagedEnumerable<T> sequence, invoking an asynchronous delegate for each element.

ForEachAsync<T>(IPagedEnumerable<T>, Func<T,Task>, CancellationToken)

Iterates over an IPagedEnumerable<T> sequence, invoking an asynchronous delegate for each element.

ToListAsync<T>(IPagedEnumerable<T>, CancellationToken)

Creates a System.Collections.Generic.List`1 from an IPagedEnumerable<T>.

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to