C# Класс Squishy.Irc.IrcUser

Наследование: IComparable, ChatTarget
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CompareTo ( Object o ) : int
GetEnumerator ( ) : IEnumerator
IrcUser ( IrcClient irc, string mask ) : System
IrcUser ( IrcClient irc, string nick, IrcChannel chan ) : System
Is ( string nick ) : bool

Compares this user'str nick with the specified string case-insensitively.

IsOn ( IrcChannel chan ) : bool

Indicates wether or not this User is on the specified channel.

IsOn ( string channame ) : bool

Indicates wether or not this User is on the channel with the specified name

Matches ( string mask ) : bool
Msg ( object format ) : void
Notice ( string line ) : void
ToString ( ) : string
this ( string name ) : IrcChannel

Returns the Channel with the specific name or null if the user is not on the Channel.

Приватные методы

Метод Описание
AddChannel ( IrcChannel chan ) : void
AddMode ( string mode ) : void
ChangeNick ( string newNick ) : void
DeleteChannel ( string chan ) : void
DeleteMode ( string mode ) : void
IrcUser ( IrcClient irc ) : System
Parse ( string mask ) : void
SetInfo ( string username, string host, string info ) : void
SetInfo ( string nick, string username, string pw, string info ) : void

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

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

public CompareTo ( Object o ) : int
o Object
Результат int

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

public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

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

public IrcUser ( IrcClient irc, string mask ) : System
irc IrcClient
mask string
Результат System

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

public IrcUser ( IrcClient irc, string nick, IrcChannel chan ) : System
irc IrcClient
nick string
chan IrcChannel
Результат System

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

Compares this user'str nick with the specified string case-insensitively.
public Is ( string nick ) : bool
nick string
Результат bool

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

Indicates wether or not this User is on the specified channel.
public IsOn ( IrcChannel chan ) : bool
chan IrcChannel
Результат bool

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

Indicates wether or not this User is on the channel with the specified name
public IsOn ( string channame ) : bool
channame string
Результат bool

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

public Matches ( string mask ) : bool
mask string The mask that is to be matched with this User'str mask.
Результат bool

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

public Msg ( object format ) : void
format object
Результат void

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

public Notice ( string line ) : void
line string
Результат void

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

public ToString ( ) : string
Результат string

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

Returns the Channel with the specific name or null if the user is not on the Channel.
public this ( string name ) : IrcChannel
name string
Результат IrcChannel