C# Class IrcDotNet.IrcClient.IrcMessage

Show file Open project: IrcDotNet/IrcDotNet

Public Properties

Property Type Description
Command string
Parameters IList
Prefix string
Source IIrcMessageSource

Public Methods

Method Description
IrcMessage ( IrcClient client, string prefix, string command, IList parameters ) : System

Initializes a new instance of the IrcMessage structure.

ToString ( ) : string

Returns a string representation of this instance.

Method Details

IrcMessage() public method

Initializes a new instance of the IrcMessage structure.
public IrcMessage ( IrcClient client, string prefix, string command, IList parameters ) : System
client IrcClient A client object that has sent/will receive the message.
prefix string The message prefix that represents the source of the message.
command string The command name; either an alphabetic word or 3-digit number.
parameters IList /// A list of the parameters to the message. Can contain a maximum of 15 items. ///
return System

ToString() public method

Returns a string representation of this instance.
public ToString ( ) : string
return string

Property Details

Command public property

The name of the command.
public string Command
return string

Parameters public property

A list of the parameters to the message.
public IList Parameters
return IList

Prefix public property

The message prefix.
public string Prefix
return string

Source public property

The source of the message, which is the object represented by the value of Prefix.
public IIrcMessageSource Source
return IIrcMessageSource