Open sandboxFocus

Class AsyncEnumerableList<T>

A List<T> that implements IAsyncEnumerable<T>. This class is used when a non-iterator template is applied to an async iterator method.

Inheritance
List<T>
AsyncEnumerableList<T>
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.RunTime.dll
Syntax
public sealed class AsyncEnumerableList<T> : List<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>
Type Parameters
Name Description
T

Type of items.

Constructors

Name Description
AsyncEnumerableList()

Methods

Name Description
GetAsyncEnumerator(CancellationToken)

Gets an enumerator for the current list.

Extension Methods