Struct SwiftPackedSet<T>.SwiftPackedSetEnumerator
- Namespace
- SwiftCollections
- Assembly
- SwiftCollections.dll
Enumerates the elements of a SwiftPackedSet<T> collection.
public struct SwiftPackedSet<T>.SwiftPackedSetEnumerator : IEnumerator<T>, IEnumerator, IDisposable
- Implements
-
IEnumerator<T>
- Inherited Members
Remarks
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 readonly T Current { get; }
Property Value
- T
Methods
Dispose()
public void Dispose()
MoveNext()
public bool MoveNext()
Returns
Reset()
public void Reset()