internal static PreRequestEventArgs Create(AmazonWebServiceRequest request) { PreRequestEventArgs args = new PreRequestEventArgs { Request = request }; return args; }
protected virtual void ProcessPreRequestHandlers(AmazonWebServiceRequest request) { if (request == null) { return; } if (BeforeMarshallingEvent == null) { return; } PreRequestEventArgs args = PreRequestEventArgs.Create(request); BeforeMarshallingEvent(this, args); }