C# Class Yaircc.Net.IRC.KnockMessage

Represents a KNOCK command.
Inheritance: Message
Show file Open project: rastating/yaircc

Public Methods

Method Description
KnockMessage ( ) : System

Initialises a new instance of the KnockMessage class.

KnockMessage ( string channel ) : System

Initialises a new instance of the KnockMessage class.

KnockMessage ( string channel, string message ) : System

Initialises a new instance of the KnockMessage class.

TryParse ( string input ) : ParseResult

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

Method Details

KnockMessage() public method

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

KnockMessage() public method

Initialises a new instance of the KnockMessage class.
public KnockMessage ( string channel ) : System
channel string The channel to send the knock command to.
return System

KnockMessage() public method

Initialises a new instance of the KnockMessage class.
public KnockMessage ( string channel, string message ) : System
channel string The channel to send the knock command to.
message string The message to be shown with the knock.
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