C# Class Squishy.Irc.IrcUser

Inheritance: IComparable, ChatTarget
显示文件 Open project: jaddie/WCell-Utility-Bot Class Usage Examples

Public Methods

Method Description
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.

Private Methods

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

Method Details

CompareTo() public method

public CompareTo ( Object o ) : int
o Object
return int

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

IrcUser() public method

public IrcUser ( IrcClient irc, string mask ) : System
irc IrcClient
mask string
return System

IrcUser() public method

public IrcUser ( IrcClient irc, string nick, IrcChannel chan ) : System
irc IrcClient
nick string
chan IrcChannel
return System

Is() public method

Compares this user'str nick with the specified string case-insensitively.
public Is ( string nick ) : bool
nick string
return bool

IsOn() public method

Indicates wether or not this User is on the specified channel.
public IsOn ( IrcChannel chan ) : bool
chan IrcChannel
return bool

IsOn() public method

Indicates wether or not this User is on the channel with the specified name
public IsOn ( string channame ) : bool
channame string
return bool

Matches() public method

public Matches ( string mask ) : bool
mask string The mask that is to be matched with this User'str mask.
return bool

Msg() public method

public Msg ( object format ) : void
format object
return void

Notice() public method

public Notice ( string line ) : void
line string
return void

ToString() public method

public ToString ( ) : string
return string

this() public method

Returns the Channel with the specific name or null if the user is not on the Channel.
public this ( string name ) : IrcChannel
name string
return IrcChannel