public override void Dispose()
 {
     Locks.ReleaseWriteLock(this._Locks);
 }
 public override void Dispose()
 {
     Locks.ReleaseReadOnlyLock(this._Locks);
 }
 public WriteLock(ReaderWriterLockSlim locks)
     : base(locks)
 {
     Locks.GetWriteLock(this._Locks);
 }
 public ReadOnlyLock(ReaderWriterLockSlim locks)
     : base(locks)
 {
     Locks.GetReadOnlyLock(this._Locks);
 }