C# Class IrcShark.Chatting.Irc.UserInfo

Holds host informations about a user.
Inheritance: IIrcObject
Mostra file Open project: hapm/IrcShark Class Usage Examples

Public Methods

Method 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 method

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

GetHashCode() public method

Gets the hashcode of this UserInfo.
public GetHashCode ( ) : int
return int

ToString() public method

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

UserInfo() public method

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 . ///
return System

UserInfo() public method

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. ///
return System

UserInfo() public method

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.
return System

UserInfo() public method

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.
return System