Esempio n. 1
0
        /// <summary>
        /// Raises the <see cref="PingResponseReceived"/> event.
        /// </summary>
        /// <param name="e">The <see cref="CtcpPingResponseReceivedEventArgs"/> instance containing the event data.
        /// </param>
        protected virtual void OnPingResponseReceived(CtcpPingResponseReceivedEventArgs e)
        {
            var handler = this.PingResponseReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Raises the <see cref="PingResponseReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="CtcpPingResponseReceivedEventArgs"/> instance containing the event data.
 /// </param>
 protected virtual void OnPingResponseReceived(CtcpPingResponseReceivedEventArgs e)
 {
     var handler = this.PingResponseReceived;
     if (handler != null)
         handler(this, e);
 }