Provides data for the CtcpClient.RawMessageSent and CtcpClient.RawMessageReceived events.
Наследование: System.EventArgs
Пример #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);
            }
        }
Пример #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);
 }
Пример #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);
 }