Create() static private method

static private Create ( AmazonWebServiceResponse response, IRequest request, IWebResponseData webResponseData ) : WebServiceResponseEventArgs
response AmazonWebServiceResponse
request IRequest
webResponseData IWebResponseData
return WebServiceResponseEventArgs
コード例 #1
0
 protected void ProcessResponseHandlers(IExecutionContext executionContext)
 {
     if (mAfterResponseEvent != null)
     {
         WebServiceResponseEventArgs e = WebServiceResponseEventArgs.Create(executionContext.ResponseContext.Response, executionContext.RequestContext.Request, executionContext.ResponseContext.HttpResponse);
         mAfterResponseEvent(this, e);
     }
 }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
            }
        }
コード例 #4
0
        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);
        }