Provides data for the IrcClient.ServerVersionInfoReceived event.
Inheritance: System.EventArgs
コード例 #1
0
ファイル: IrcClient.cs プロジェクト: txdv/ircdotnet
 /// <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)));
 }