C# Class IrcDotNet.IrcMessageEventArgs

Provides data for events that are raised when an IRC message or notice is sent or received.
Inheritance: System.EventArgs
Show file Open project: IrcDotNet/IrcDotNet Class Usage Examples

Public Methods

Method Description
GetText ( Encoding encoding = null ) : string

Gets the text of the message in the specified encoding.

IrcMessageEventArgs ( IIrcMessageSource source, IList targets, string text, Encoding encoding ) : System.Net.Security

Initializes a new instance of the IrcMessageEventArgs class.

Method Details

GetText() public method

Gets the text of the message in the specified encoding.
public GetText ( Encoding encoding = null ) : string
encoding System.Text.Encoding /// The encoding in which to get the message text, or to use the /// default encoding. ///
return string

IrcMessageEventArgs() public method

Initializes a new instance of the IrcMessageEventArgs class.
is . is .
public IrcMessageEventArgs ( IIrcMessageSource source, IList targets, string text, Encoding encoding ) : System.Net.Security
source IIrcMessageSource The source of the message.
targets IList A list of the targets of the message.
text string The text of the message.
encoding System.Text.Encoding The encoding of the message text.
return System.Net.Security