Provides data for the CtcpClient.ErrorMessageReceived event.
Inheritance: CtcpResponseReceivedEventArgs
Beispiel #1
0
        /// <summary>
        /// Raises the <see cref="ErrorMessageReceived"/> event.
        /// </summary>
        /// <param name="e">The <see cref="CtcpErrorMessageReceivedEventArgs"/> instance containing the event
        /// data.</param>
        protected virtual void OnErrorMessageResponseReceived(CtcpErrorMessageReceivedEventArgs e)
        {
            var handler = this.ErrorMessageReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 /// <summary>
 /// Raises the <see cref="ErrorMessageReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="CtcpErrorMessageReceivedEventArgs"/> instance containing the event
 /// data.</param>
 protected virtual void OnErrorMessageResponseReceived(CtcpErrorMessageReceivedEventArgs e)
 {
     var handler = this.ErrorMessageReceived;
     if (handler != null)
         handler(this, e);
 }