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

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