Create() static private method

static private Create ( AmazonWebServiceRequest request ) : PreRequestEventArgs
request AmazonWebServiceRequest
return PreRequestEventArgs
 protected void ProcessPreRequestHandlers(IExecutionContext executionContext)
 {
     if (mBeforeMarshallingEvent != null)
     {
         PreRequestEventArgs e = PreRequestEventArgs.Create(executionContext.RequestContext.OriginalRequest);
         mBeforeMarshallingEvent(this, e);
     }
 }
        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);
        }