Open sandboxFocus

Class RunTimeAspectHelper.AsyncEnumerator<T>

An IAsyncEnumerator<T> wrapper around an AsyncEnumerableList<T> that supports resetting. This type is used by code transformed by aspects when return value contracts are applied to async iterator methods that return IAsyncEnumerator<T>.

Inheritance
RunTimeAspectHelper.AsyncEnumerator<T>
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.dll
Syntax
public sealed class RunTimeAspectHelper.AsyncEnumerator<T> : IAsyncEnumerator<T>, IAsyncDisposable
Type Parameters
Name Description
T

The type of items.

Properties

Name Description
Current

Methods

Name Description
DisposeAsync()
MoveNextAsync()
Reset()

Resets the enumerator to the beginning of the list.

Extension Methods