Пример #1
0
 public UpgradedGuard(UpgradeableGuard parentGuard)
 {
     _parentGuard = parentGuard;
     _writerLock  = new WriterGuard(_parentGuard._readerWriterLock);
 }
 public UpgradedGuard(UpgradeableGuard parentGuard)
 {
     _parentGuard = parentGuard;
     _writerLock = new WriterGuard(_parentGuard._readerWriterLock);
 }