예제 #1
0
 internal DisposableShim(bool failed)
 {
     AcquisitionFailed = failed;
     _appLock          = null;
     _owner            = null;
     _lockName         = null;
 }
예제 #2
0
 internal DisposableShim(IAppLock
                         appLock, string owner, string lockName)
 {
     _appLock          = appLock;
     _owner            = owner;
     _lockName         = lockName;
     AcquisitionFailed = false;
 }
예제 #3
0
 public Lock(IAppLock appLock)
 {
     _appLock = appLock;
 }