Wraps an ImmutableArray<T> as an IAsyncEnumerable<T>.
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.dll
Syntax
public sealed class AsyncEnumerableArray<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
This class is only used by Metalama to represent an empty IAsyncEnumerable<T> through the Empty property.
Constructors
| Name | Description |
|---|---|
| AsyncEnumerableArray(T[]) |
Properties
| Name | Description |
|---|---|
| Count | |
| Empty | |
| this[int] |
Methods
| Name | Description |
|---|---|
| GetAsyncEnumerator(CancellationToken) | |
| GetEnumerator() |