Example #1
0
 public void Dispose()
 {
     if (_isNotifyEnabled)
     {
         _obj.DowngradeToNotify(_isWriteEnabled);
     }
     else if (!_isWriteEnabled)
     {
         _obj.DowngradeOpen();
     }
 }