C# Class Nekobot.Commands.CommandParser

Mostrar archivo Open project: Kusoneko/Nekobot Class Usage Examples

Public Methods

Method Description
ParseArgs ( string input, int startPos, Nekobot.Commands.Command command, string &args ) : CommandErrorType?
ParseCommand ( string input, CommandMap map, IEnumerable &commands, int &endPos ) : bool

Private Methods

Method Description
IsWhiteSpace ( char c ) : bool

Method Details

ParseArgs() public static method

public static ParseArgs ( string input, int startPos, Nekobot.Commands.Command command, string &args ) : CommandErrorType?
input string
startPos int
command Nekobot.Commands.Command
args string
return CommandErrorType?

ParseCommand() public static method

public static ParseCommand ( string input, CommandMap map, IEnumerable &commands, int &endPos ) : bool
input string
map CommandMap
commands IEnumerable
endPos int
return bool