コード例 #1
0
 /// <summary>
 /// Exits the protected code section
 /// </summary>
 public void Dispose()
 {
     if (_srcGate != null)
     {
         _srcGate.ExitClient();
         _srcGate = null;
     }
 }
コード例 #2
0
 internal MutuallyExclusiveGuard(MutuallyExclusivePrimitive.MutuallyExclusiveGate srcGate)
 {
     _srcGate = srcGate;
 }