Beispiel #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);
 }
Beispiel #2
0
 public UncompletedAsyncResultMarker(AsyncResult result)
 {
     AsyncResult = result;
 }
Beispiel #3
0
 public static new bool End(IAsyncResult result)
 {
     return(AsyncResult.End <InputQueue <T> .AsyncQueueWaiter>(result).itemAvailable);
 }
Beispiel #4
0
 public static new void End(IAsyncResult result)
 {
     AsyncResult.End <ChainedAsyncResult>(result);
 }
Beispiel #5
0
            public static bool End(IAsyncResult result)
            {
                AsyncQueueWaiter waiterResult = AsyncResult.End <AsyncQueueWaiter>(result);

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