Struct SingletonList<T>.Enumerator
Represents an enumerator over the collection containing a single element.
Implements
Inherited Members
Namespace: DotNext.Collections.Specialized
Assembly: DotNext.dll
Syntax
public struct SingletonList<T>.Enumerator : IEnumerator<SingletonList<T>.Enumerator, T>
Properties
| Edit this page View SourceCurrent
Gets the current element.
Declaration
public readonly T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Edit this page View SourceMoveNext()
Advances the position of the enumerator to the next element.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | true if the enumerator advanced successfully; otherwise, false. |
Reset()
Resets state of this enumerator.
Declaration
public void Reset()