Пример #1
0
 public void Action()
 {
     var request = new Request();
     request.BeginOperation(
         result =>
         {
             Callback(result, request);
         },
         request);
 }
 public void Action2()
 {
     var request = new Request();
     request.BeginOperation(Callback2, request);
 }
Пример #3
0
 public void Action()
 {
     var request = new Request();
     request.BeginOperation(result => Callback(result, (Request)result.AsyncState), request);
 }