Пример #1
0
 public void Action()
 {
     var request = new Request();
     var task = request.OperationAsync()
                       .ContinueWith(t => Callback(t, request));
 }
 public void Action2()
 {
     var request = new Request();
     var task = request.OperationAsync();
     Callback2(task, request);
 }
Пример #3
0
 public async Task Action()
 {
     var request = new Request();
     var task = request.OperationAsync();
     await Callback(task, request);
 }