Esempio n. 1
0
 public TransactionSignalScope(AsyncResult result, Transaction transaction)
 {
     Fx.Assert(transaction != null, "Null Transaction provided to AsyncResult.TransactionSignalScope.");
     this.parent           = result;
     this.transactionScope = Fx.CreateTransactionScope(transaction);
 }
Esempio n. 2
0
 public UncompletedAsyncResultMarker(AsyncResult result)
 {
     AsyncResult = result;
 }
Esempio n. 3
0
 public static new bool End(IAsyncResult result)
 {
     return(AsyncResult.End <InputQueue <T> .AsyncQueueWaiter>(result).itemAvailable);
 }
Esempio n. 4
0
 public static new void End(IAsyncResult result)
 {
     AsyncResult.End <ChainedAsyncResult>(result);
 }
Esempio n. 5
0
            public static bool End(IAsyncResult result)
            {
                AsyncQueueWaiter waiterResult = AsyncResult.End <AsyncQueueWaiter>(result);

                return(waiterResult.itemAvailable);
            }
Esempio n. 6
0
 public void EndWaitPendingOperations(IAsyncResult result)
 {
     AsyncResult <PendingOperationTracker.WaitPendingOperationsAsyncResult> .End(result);
 }
Esempio n. 7
0
 public static new bool End(IAsyncResult asyncResult)
 {
     return(AsyncResult <AsyncSemaphore.SemaphoreWaiter> .End(asyncResult).result);
 }
Esempio n. 8
0
 public TransactionSignalScope(AsyncResult result, Transaction transaction)
 {
     this.parent           = result;
     this.transactionScope = Fx.CreateTransactionScope(transaction);
 }
Esempio n. 9
0
 public static new void End(IAsyncResult result)
 {
     AsyncResult.End <BeginEndAsyncWaitHandle.WaitAsyncResult>(result);
 }