Beispiel #1
0
 /// <summary>
 /// Raises the <see cref="SendingRequest"/> event.
 /// </summary>
 /// <remarks>
 /// Called when a request is being sent.
 /// </remarks>
 /// <param name="args">A <see cref="SendingRequestEventArgs"/> that contains the event data.</param>
 /// <seealso cref="SendingRequest"/>
 protected virtual void OnSendingRequest( SendingRequestEventArgs args )
 {
     if ( SendingRequest != null ) {
         SendingRequest( this, args );
     }
 }
Beispiel #2
0
 /// <summary>
 /// Raises the <see cref="SendingRequest"/> event.
 /// </summary>
 /// <remarks>
 /// Called when a request is being sent.
 /// </remarks>
 /// <param name="args">A <see cref="SendingRequestEventArgs"/> that contains the event data.</param>
 /// <seealso cref="SendingRequest"/>
 protected virtual void OnSendingRequest(SendingRequestEventArgs args)
 {
     SendingRequest?.Invoke(this, args);
 }