EntityMultiMap_TKey_.KeyEnumerator.md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.EntityMultiMap<TKey>

EntityMultiMap.KeyEnumerator Struct

Enumerates the TKey of a EntityMultiMap<TKey>.

public struct EntityMultiMap<TKey>.KeyEnumerator :
System.Collections.Generic.IEnumerator<TKey>,
System.Collections.IEnumerator,
System.IDisposable

Type parameters

TKey

Implements System.Collections.Generic.IEnumerator<TKey>, System.Collections.IEnumerator, System.IDisposable

Properties
CurrentGets the TKey at the current position of the enumerator.
Methods
Dispose()Releases all resources used by the KeyEnumerator.
MoveNext()Advances the enumerator to the next TKey of the EntityMultiMap<TKey>.
Explicit Interface Implementations
System.Collections.IEnumerator.CurrentGets the TKey at the current position of the enumerator.
System.Collections.IEnumerator.Reset()Sets the enumerator to its initial position, which is before the first element in the collection.