Exemplo n.º 1
0
 public static async Task <T> ExecuteOnOperationContext <T>(this Task <T> task, AsyncOperationContext operationContext)
 {
     return(await operationContext.Invoke(task));
 }
Exemplo n.º 2
0
 public static async Task ExecuteOnOperationContext(this Task task, AsyncOperationContext operationContext)
 {
     await operationContext.Invoke(task);
 }