Ejemplo n.º 1
0
 public void ReturnResponses()
 {
     responseReceiver.ReceiveResponses(new ProcessRequestsAsyncCompletedArgs(new[] { responsesToReturn.ToArray() }, null, false, null), new Response[responsesToReturn.Count], requests.Values.ToArray());
 }
Ejemplo n.º 2
0
 public virtual void OnProcessRequestsCompleted(ProcessRequestsAsyncCompletedArgs args, ResponseReceiver responseReciever,
                                                Response[] tempResponseArray, Request[] requestsToSendAsArray)
 {
     Dispose();
     responseReciever.ReceiveResponses(args, tempResponseArray, requestsToSendAsArray);
 }