/// <summary> /// Raises the <see cref="InviteReceived"/> event. /// </summary> /// <param name="e">The <see cref="IrcChannelEventArgs"/> instance containing the event data.</param> protected virtual void OnInviteReceived(IrcChannelInvitationEventArgs e) { var handler = this.InviteReceived; if (handler != null) { handler(this, e); } }
/// <summary> /// Raises the <see cref="InviteReceived"/> event. /// </summary> /// <param name="e">The <see cref="IrcChannelEventArgs"/> instance containing the event data.</param> protected virtual void OnInviteReceived(IrcChannelInvitationEventArgs e) { var handler = this.InviteReceived; if (handler != null) handler(this, e); }