C# Класс IrcShark.Chatting.Irc.UserInfo

Holds host informations about a user.
Наследование: IIrcObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Equals ( object obj ) : bool

Compare this UserInfo with other objects.

GetHashCode ( ) : int

Gets the hashcode of this UserInfo.

ToString ( ) : string

Gives back the raw host this UserInfo was created from.

UserInfo ( IrcClient client, string host ) : System

Initializes a new instance of the UserInfo class based on the host.

UserInfo ( IrcLine baseLine ) : System

Initializes a new instance of the UserInfo class based on the given IrcLine.

UserInfo ( UserInfo source ) : System

Initializes a new instance of the UserInfo class, based on an existing UserInfo.

UserInfo ( string nickName, string ident, string host, IrcClient client ) : System

Initializes a new instance of the UserInfo class with the given values.

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

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

Compare this UserInfo with other objects.
public Equals ( object obj ) : bool
obj object /// The object to compare with. ///
Результат bool

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

Gets the hashcode of this UserInfo.
public GetHashCode ( ) : int
Результат int

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

Gives back the raw host this UserInfo was created from.
public ToString ( ) : string
Результат string

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

Initializes a new instance of the UserInfo class based on the host.
public UserInfo ( IrcClient client, string host ) : System
client IrcClient /// The this UserInfo belongs to. ///
host string /// A host as described in rfc 1459 as a . ///
Результат System

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

Initializes a new instance of the UserInfo class based on the given IrcLine.
public UserInfo ( IrcLine baseLine ) : System
baseLine IrcLine /// The this UserInfo was build from. ///
Результат System

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

Initializes a new instance of the UserInfo class, based on an existing UserInfo.
public UserInfo ( UserInfo source ) : System
source UserInfo The UserInfo instance to copy from.
Результат System

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

Initializes a new instance of the UserInfo class with the given values.
public UserInfo ( string nickName, string ident, string host, IrcClient client ) : System
nickName string The nickname of the user.
ident string The ident of the user.
host string The user host.
client IrcClient The client, where the user was seen on.
Результат System