Пример #1
0
 public LockSpec(LockType type, LockingDictionary <TKey, TValue> dictionary)
 {
     Type        = type;
     _dictionary = dictionary;
     _previous   = _lastLock;
     _lastLock   = this;
 }
Пример #2
0
 public void Dispose()
 {
     _lastLock = null;
     _lock.Dispose();
 }