C# Class IrcShark.Chatting.Irc.UserInfo

Holds host informations about a user.
Inheritance: IIrcObject
Afficher le fichier Open project: hapm/IrcShark Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Equals() public méthode

Compare this UserInfo with other objects.
public Equals ( object obj ) : bool
obj object /// The object to compare with. ///
Résultat bool

GetHashCode() public méthode

Gets the hashcode of this UserInfo.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Gives back the raw host this UserInfo was created from.
public ToString ( ) : string
Résultat string

UserInfo() public méthode

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

UserInfo() public méthode

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

UserInfo() public méthode

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

UserInfo() public méthode

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