Create() static private method

static private Create ( AmazonWebServiceRequest request ) : PreRequestEventArgs
request AmazonWebServiceRequest
return PreRequestEventArgs
Exemplo n.º 1
0
 protected void ProcessPreRequestHandlers(IExecutionContext executionContext)
 {
     if (mBeforeMarshallingEvent != null)
     {
         PreRequestEventArgs e = PreRequestEventArgs.Create(executionContext.RequestContext.OriginalRequest);
         mBeforeMarshallingEvent(this, e);
     }
 }
Exemplo n.º 2
0
        protected void ProcessPreRequestHandlers(IExecutionContext executionContext)
        {
            //if (request == null)
            //    return;
            if (BeforeMarshallingEvent == null)
            {
                return;
            }

            PreRequestEventArgs args = PreRequestEventArgs.Create(executionContext.RequestContext.OriginalRequest);

            BeforeMarshallingEvent(this, args);
        }
        protected virtual void ProcessPreRequestHandlers(AmazonWebServiceRequest request)
        {
            if (request == null)
            {
                return;
            }
            if (BeforeMarshallingEvent == null)
            {
                return;
            }

            PreRequestEventArgs args = PreRequestEventArgs.Create(request);

            BeforeMarshallingEvent(this, args);
        }