C# Class Yaircc.Net.IRC.KickMessage

Represents a KICK command.
Inheritance: Message
显示文件 Open project: rastating/yaircc

Public Methods

Method Description
KickMessage ( ) : System

Initialises a new instance of the KickMessage class.

KickMessage ( string channel, string nickname ) : System

Initialises a new instance of the KickMessage class.

KickMessage ( string channel, string nickname, string reason ) : System

Initialises a new instance of the KickMessage class.

TryParse ( string input ) : ParseResult

Attempts to parse the input specified by the user into the Message.

Method Details

KickMessage() public method

Initialises a new instance of the KickMessage class.
public KickMessage ( ) : System
return System

KickMessage() public method

Initialises a new instance of the KickMessage class.
public KickMessage ( string channel, string nickname ) : System
channel string The channel in which the user to be kicked is in.
nickname string The nick name of the user to be kicked.
return System

KickMessage() public method

Initialises a new instance of the KickMessage class.
public KickMessage ( string channel, string nickname, string reason ) : System
channel string The channel in which the user to be kicked is in.
nickname string The nick name of the user to be kicked.
reason string The reason for kicking the user.
return System

TryParse() public method

Attempts to parse the input specified by the user into the Message.
public TryParse ( string input ) : ParseResult
input string The input from the user.
return ParseResult