示例#1
0
 public UncompletedAsyncResultMarker(AsyncResult result)
 {
     AsyncResult = result;
 }
示例#2
0
 public static void End(IAsyncResult result)
 {
     Fx.AssertAndThrowFatal(result.IsCompleted, "CompletedAsyncResult was not completed!");
     AsyncResult.End <CompletedAsyncResult>(result);
 }
示例#3
0
 public TransactionSignalScope(AsyncResult result, Transaction transaction)
 {
     Fx.Assert(transaction != null, "Null Transaction provided to AsyncResult.TransactionSignalScope.");
     _parent           = result;
     _transactionScope = Fx.CreateTransactionScope(transaction);
 }
 public static TAsyncResult End(IAsyncResult asyncResult)
 {
     return(AsyncResult.End <TAsyncResult>(asyncResult));
 }