void twitchIrc_PongReceived(object sender, IrcPingOrPongReceivedEventArgs e) { twitchDisconnect.Change(Timeout.Infinite, Timeout.Infinite); }
/// <summary> /// Raises the <see cref="PongReceived"/> event. /// </summary> /// <param name="e">The <see cref="IrcPingOrPongReceivedEventArgs"/> instance containing the event data.</param> protected virtual void OnPongReceived(IrcPingOrPongReceivedEventArgs e) { var handler = this.PongReceived; if (handler != null) handler(this, e); }