protected void ProcessResponseHandlers(IExecutionContext executionContext) { if (mAfterResponseEvent != null) { WebServiceResponseEventArgs e = WebServiceResponseEventArgs.Create(executionContext.ResponseContext.Response, executionContext.RequestContext.Request, executionContext.ResponseContext.HttpResponse); mAfterResponseEvent(this, e); } }
protected void ProcessResponseHandlers(IExecutionContext executionContext) { if (AfterResponseEvent == null) { return; } WebServiceResponseEventArgs args = WebServiceResponseEventArgs.Create( executionContext.ResponseContext.Response, executionContext.RequestContext.Request, executionContext.ResponseContext.HttpResponse); AfterResponseEvent(this, args); }
protected virtual void ProcessResponseHandlers(AmazonWebServiceResponse response, IRequest request) { if (response == null) { throw new ArgumentNullException("response"); } WebServiceResponseEventArgs args = WebServiceResponseEventArgs.Create(response, request); if (AfterResponseEvent != null) { AfterResponseEvent(this, args); } }
protected virtual void ProcessResponseHandlers(AmazonWebServiceResponse response, IRequest request, IWebResponseData webResponseData) { if (request == null) { return; } if (AfterResponseEvent == null) { return; } WebServiceResponseEventArgs args = WebServiceResponseEventArgs.Create(response, request, webResponseData); AfterResponseEvent(this, args); }