Inheritance: System.EventArgs
 internal static PreRequestEventArgs Create(AmazonWebServiceRequest request)
 {
     PreRequestEventArgs args = new PreRequestEventArgs
     {
         Request = request
     };
     return args;
 }
示例#2
0
        protected virtual void ProcessPreRequestHandlers(AmazonWebServiceRequest request)
        {
            if (request == null)
            {
                return;
            }
            if (BeforeMarshallingEvent == null)
            {
                return;
            }

            PreRequestEventArgs args = PreRequestEventArgs.Create(request);

            BeforeMarshallingEvent(this, args);
        }