Provides data for the IrcClient.ServerVersionInfoReceived event.
Inheritance: System.EventArgs
Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 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)));
 }