Table of Contents

Struct SwiftList<T>.SwiftListEnumerator

Namespace
SwiftCollections
Assembly
SwiftCollections.dll

Enumerates the elements of a SwiftList<T> collection.

public struct SwiftList<T>.SwiftListEnumerator : IEnumerator<T>, IEnumerator, IDisposable
Implements
Inherited Members

Remarks

The enumerator provides read-only, forward-only iteration over the collection. The enumerator is invalidated if the collection is modified after the enumerator is created. In such cases, calling MoveNext or Reset will throw an InvalidOperationException.

Properties

Current

public T Current { get; }

Property Value

T

Methods

Dispose()

public void Dispose()

MoveNext()

public bool MoveNext()

Returns

bool

Reset()

public void Reset()