public Enumerator(LockedDictionary <TKey, TValue> dictionary) { _enumerator = dictionary.Dictionary.Values.GetEnumerator(); _lock = dictionary.Lock; _lock.AcquireShared(); }
public Enumerator(LockedDictionary <TKey, TValue> dictionary) { _dictionary = dictionary; _enumerator = dictionary.Dictionary.GetEnumerator(); _dictionary.Lock.AcquireShared(); }
public ValueCollection(LockedDictionary <TKey, TValue> dictionary) { _lockedDictionary = dictionary; }
public Reader(LockedDictionary <TKey, TValue> dictionary) { _dictionary = dictionary; }