Open sandboxFocus

Class RunTimeAspectHelper.Enumerator<T>

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>.

Inheritance
RunTimeAspectHelper.Enumerator<T>
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.dll
Syntax
public sealed class RunTimeAspectHelper.Enumerator<T> : IEnumerator<T>, IEnumerator, IDisposable
Type Parameters
Name Description
T

The type of items.

Properties

Name Description
Current

Methods

Name Description
Dispose()
MoveNext()
Reset()

Extension Methods