Provides data for the CtcpClient.RawMessageSent and CtcpClient.RawMessageReceived events.
Inheritance: System.EventArgs
Example #1
0
        /// <summary>
        ///     Raises the <see cref="RawMessageSent" /> event.
        /// </summary>
        /// <param name="e">The <see cref="CtcpRawMessageEventArgs" /> instance containing the event data.</param>
        protected virtual void OnRawMessageSent(CtcpRawMessageEventArgs e)
        {
            var handler = RawMessageSent;

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

            if (handler != null)
            {
                handler(this, e);
            }
        }
 /// <summary>
 /// Raises the <see cref="RawMessageReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="CtcpRawMessageEventArgs"/> instance containing the event data.</param>
 protected virtual void OnRawMessageReceived(CtcpRawMessageEventArgs e)
 {
     var handler = this.RawMessageReceived;
     if (handler != null)
         handler(this, e);
 }
Example #4
0
 /// <summary>
 ///     Raises the <see cref="RawMessageSent" /> event.
 /// </summary>
 /// <param name="e">The <see cref="CtcpRawMessageEventArgs" /> instance containing the event data.</param>
 protected virtual void OnRawMessageSent(CtcpRawMessageEventArgs e)
 {
     var handler = RawMessageSent;
     if (handler != null)
         handler(this, e);
 }