internal void NotifyWebRequestExecuted(WebResponse response, TimeSpan timeNeeded, Stream resultStream, WebException exception) { if (RequestExecutedEvent != null) { WebRequestExecutedEventArgs e = new WebRequestExecutedEventArgs(); e.response = response; e.timeNeeded = timeNeeded; e.resultStream = resultStream; e.exception = exception; RequestExecutedEvent(this, e); } }
internal void NotifyWebRequestExecuted(WebResponse response, TimeSpan timeNeeded, Stream resultStream, WebException exception) { if (RequestExecutedEvent != null) { var e = new WebRequestExecutedEventArgs { response = response, timeNeeded = timeNeeded, resultStream = resultStream, exception = exception }; RequestExecutedEvent(this, e); } }