示例#1
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);
            }
        }
示例#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);
 }