/// <summary> /// Raises the <see cref="ServerVersionInfoReceived"/> event. /// </summary> /// <param name="e">The <see cref="IrcServerVersionInfoEventArgs"/> instance containing the event data.</param> protected virtual void OnServerVersionInfoReceived(IrcServerVersionInfoEventArgs e) { var handler = this.ServerVersionInfoReceived; if (handler != null) handler(this, e); }
private void Client_ServerVersionInfoReceived(object sender, IrcServerVersionInfoEventArgs e) { connection.AddHistory(HtmlWriter.Write(string.Format(MainPage.GetInfoString("SrvVersion"), e.ServerName, e.Comments, e.Version, e.DebugLevel))); }