Struct MultiValueSortedDictionary<TKey, TValue>.Enumerator
- Namespace
- Stride.Core.Collections
- Assembly
- Stride.Core.dll
Enumerates the elements of a KoderHack.MultiValueSortedDictionary<TKey,TValue>.
public struct MultiValueSortedDictionary<TKey, TValue>.Enumerator : IEnumerator<KeyValuePair<TKey, TValue>>, IDisposable, IDictionaryEnumerator, IEnumerator
- Implements
-
IEnumerator<KeyValuePair<TKey, TValue>>
- Inherited Members
- Extension Methods
Constructors
Enumerator(MultiValueSortedDictionary<TKey, TValue>)
public Enumerator(MultiValueSortedDictionary<TKey, TValue> dictionary)
Parameters
dictionary
MultiValueSortedDictionary<TKey, TValue>
Properties
Current
Gets the element at the current position of the enumerator.
public KeyValuePair<TKey, TValue> Current { get; }
Property Value
- KeyValuePair<TKey, TValue>
The element in the SortedDictionary<TKey, TValue> at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the KoderHack.MultiValueSortedDictionary<TKey,TValue>.Enumerator.
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the KoderHack.MultiValueSortedDictionary<TKey,TValue>.
public bool MoveNext()
Returns
- bool
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions
- InvalidOperationException
The collection was modified after the enumerator was created.