Exemplo n.º 1
0
 public Enumerator(LockedDictionary <TKey, TValue> dictionary)
 {
     _enumerator = dictionary.Dictionary.Values.GetEnumerator();
     _lock       = dictionary.Lock;
     _lock.AcquireShared();
 }
Exemplo n.º 2
0
 public Enumerator(LockedDictionary <TKey, TValue> dictionary)
 {
     _dictionary = dictionary;
     _enumerator = dictionary.Dictionary.GetEnumerator();
     _dictionary.Lock.AcquireShared();
 }
Exemplo n.º 3
0
 public ValueCollection(LockedDictionary <TKey, TValue> dictionary)
 {
     _lockedDictionary = dictionary;
 }
Exemplo n.º 4
0
 public Reader(LockedDictionary <TKey, TValue> dictionary)
 {
     _dictionary = dictionary;
 }