C# Class Yaircc.Net.IRC.PrivMsgMessage

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

Public Methods

Method Description
PrivMsgMessage ( ) : System

Initialises a new instance of the PrivMsgMessage class.

PrivMsgMessage ( string receiver, string message ) : System

Initialises a new instance of the PrivMsgMessage class.

TryParse ( string input ) : ParseResult

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

Private Methods

Method Description
ParseActionMessage ( string payload ) : ParseResult

Parse an action message.

ParsePrivateMessage ( string payload ) : ParseResult

Parse a private message.

ParseRegularMessage ( string payload ) : ParseResult

Parse a standard message.

Method Details

PrivMsgMessage() public method

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

PrivMsgMessage() public method

Initialises a new instance of the PrivMsgMessage class.
public PrivMsgMessage ( string receiver, string message ) : System
receiver string The recipient of the message.
message string The message.
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