C# Class IrcDotNet.Ctcp.CtcpClient.CtcpMessage

Afficher le fichier Open project: IrcDotNet/IrcDotNet Class Usage Examples

Méthodes publiques

Свойство Type Description
Data string
IsResponse bool
Source IrcUser
Tag string
Targets IList

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat System

ToString() public méthode

Returns a string representation of this instance.
public ToString ( ) : string
Résultat string

Property Details

Data public_oe property

The data contained by the message.
public string Data
Résultat string

IsResponse public_oe property

if this message is a response to another message; , otherwise.
public bool IsResponse
Résultat bool

Source public_oe property

The user that sent the message.
public IrcUser Source
Résultat 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
Résultat string

Targets public_oe property

A list of users to which to send the message.
public IList Targets
Résultat IList