C# Класс IrcDotNet.Ctcp.CtcpClient.CtcpMessage

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Data string
IsResponse bool
Source IrcUser
Tag string
Targets IList

Открытые методы

Метод Описание
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.

Описание методов

CtcpMessage() публичный Метод

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. ///
Результат System

ToString() публичный Метод

Returns a string representation of this instance.
public ToString ( ) : string
Результат string

Описание свойств

Data публичное свойство

The data contained by the message.
public string Data
Результат string

IsResponse публичное свойство

if this message is a response to another message; , otherwise.
public bool IsResponse
Результат bool

Source публичное свойство

The user that sent the message.
public IrcUser Source
Результат IrcUser

Tag публичное свойство

The tag of the message, that specifies the kind of data it contains or the type of the request.
public string Tag
Результат string

Targets публичное свойство

A list of users to which to send the message.
public IList Targets
Результат IList