Provides data for the IrcClient.ServerVersionInfoReceived event.
Inheritance: System.EventArgs
示例#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);
 }
示例#2
0
文件: Command.cs 项目: charla-n/BIRC
 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)));
 }