Exemplo n.º 1
0
 public static void LockOrWait(this IOperationLock lockObj,
                               Action operation,
                               TimeSpan timeOut)
 {
     LockOperation(lockObj, operation, () => lockObj.Wait(timeOut));
 }