C# Class Nekobot.Commands.CommandParser

Afficher le fichier Open project: Kusoneko/Nekobot Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IsWhiteSpace ( char c ) : bool

Method Details

ParseArgs() public static méthode

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

ParseCommand() public static méthode

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