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

                return(waiterResult.itemAvailable);
            }
Example #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);
 }
Example #8
0
 public TransactionSignalScope(AsyncResult result, Transaction transaction)
 {
     this.parent           = result;
     this.transactionScope = Fx.CreateTransactionScope(transaction);
 }
Example #9
0
 public static new void End(IAsyncResult result)
 {
     AsyncResult.End <BeginEndAsyncWaitHandle.WaitAsyncResult>(result);
 }