C# Class Yaircc.Net.IRC.ModeMessage

Represents a MODE command.
Inheritance: Message
ファイルを表示 Open project: rastating/yaircc

Public Methods

Method Description
ModeMessage ( ) : System

Initialises a new instance of the ModeMessage class.

ModeMessage ( string target ) : System

Initialises a new instance of the ModeMessage class.

TryParse ( string input ) : ParseResult

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

Private Methods

Method Description
ParseBanCommand ( string payload ) : ParseResult

Parse a ban command into the message.

ParseExceptCommand ( string payload ) : ParseResult

Parse an except/unexcept command into the message.

ParseModeCommand ( string payload ) : ParseResult

Parse a mode command into the message.

ParseOpCommand ( string payload ) : ParseResult

Parse a deop/dehop/hop/op command into the message.

ParseVoiceCommand ( string payload ) : ParseResult

Parse a voice command into the message.

Method Details

ModeMessage() public method

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

ModeMessage() public method

Initialises a new instance of the ModeMessage class.
public ModeMessage ( string target ) : System
target string The nick name of the user to receive the mode of.
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