Exemple #1
0
        /// <summary>
        /// Raises the <see cref="ActionReceived"/> event.
        /// </summary>
        /// <param name="e">The <see cref="CtcpMessageEventArgs"/> instance containing the event data.</param>
        protected virtual void OnActionReceived(CtcpMessageEventArgs e)
        {
            var handler = this.ActionReceived;

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