C# Class IrcDotNet.Ctcp.CtcpClient.CtcpMessage

Exibir arquivo Open project: IrcDotNet/IrcDotNet Class Usage Examples

Public Properties

Property Type Description
Data string
IsResponse bool
Source IrcUser
Tag string
Targets IList

Public Methods

Method Description
CtcpMessage ( IrcUser source, IList targets, string tag, string data, bool isResponse ) : System

Initializes a new instance of the CtcpMessage structure.

ToString ( ) : string

Returns a string representation of this instance.

Method Details

CtcpMessage() public method

Initializes a new instance of the CtcpMessage structure.
public CtcpMessage ( IrcUser source, IList targets, string tag, string data, bool isResponse ) : System
source IrcUser The source of the message.
targets IList A list of the targets of the message.
tag string The tag of the message.
data string The data contained by the message, or for no data.
isResponse bool /// if the message is a response to another message; /// , otherwise. ///
return System

ToString() public method

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

Property Details

Data public_oe property

The data contained by the message.
public string Data
return string

IsResponse public_oe property

if this message is a response to another message; , otherwise.
public bool IsResponse
return bool

Source public_oe property

The user that sent the message.
public IrcUser Source
return IrcUser

Tag public_oe property

The tag of the message, that specifies the kind of data it contains or the type of the request.
public string Tag
return string

Targets public_oe property

A list of users to which to send the message.
public IList Targets
return IList