An IEnumerator<T> wrapper around a List<T> that supports Reset(). This type is used by code transformed by aspects when return value contracts are applied to iterator methods that return IEnumerator<T>.
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.dll
Syntax
public sealed class RunTimeAspectHelper.Enumerator<T> : IEnumerator<T>, IEnumerator, IDisposableType Parameters
| Name | Description |
|---|---|
| T | The type of items. |
Properties
| Name | Description |
|---|---|
| Current |
Methods
| Name | Description |
|---|---|
| Dispose() | |
| MoveNext() | |
| Reset() |