Struct SwiftSortedList<T>.SwiftSorterEnumerator
- Namespace
- SwiftCollections
- Assembly
- SwiftCollections.dll
Supports simple iteration over the elements of a SwiftSortedList<T> in sorted order.
public struct SwiftSortedList<T>.SwiftSorterEnumerator : IEnumerator<T>, IEnumerator, IDisposable
- Implements
-
IEnumerator<T>
- Inherited Members
Remarks
The enumerator is invalidated if the underlying collection is modified after the enumerator created. In this case, calling MoveNext or Reset will throw an InvalidOperationException. The enumerator does not support writing to the collection.
Properties
Current
public T Current { get; }
Property Value
- T
Methods
Dispose()
public void Dispose()
MoveNext()
public bool MoveNext()
Returns
Reset()
public void Reset()