Version 3.3.1.2

GarbageFreeIterators.DictionaryIterator<T1, T2> struct

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public struct DictionaryIterator<T1, T2> : IDisposable
Dictionary iterator.

Type Parameters

T1

T2

Constructors

DictionaryIterator(Dictionary<T1, T2>)
Creates a dictionary iterator.
public DictionaryIterator(Dictionary<T1, T2> dictionary)
Parameters
System.Collections.Generic.Dictionary<T1, T2> dictionary

Properties

Current
Gets the current value.
public KeyValuePair<T1, T2> Current { get; }

Methods

Dispose()
Disposes the iterator.
public void Dispose()
GetEnumerator()
Gets the enumerator.
public GarbageFreeIterators.DictionaryIterator<T1, T2> GetEnumerator()
MoveNext()
Moves to the next value.
public bool MoveNext()
Returns
System.Boolean