Méthode | Description | |
---|---|---|
AddCommand ( MBCShellCommandHandler handler ) : void |
Associates a number of newCmds to a handler.
|
|
RunCommand ( ) : bool |
Runs a command, or a series of commands separated by a pipe "|" and passes the current index of the array of strings to the command handler to parse parameters when needed.
|
|
RunCommand ( string input ) : bool |
Splits a string by whitespaces without splitting the strings encapsulated with double-quotes. Runs the Input.RunCommand(string[]) method with the parsed input.
|
Méthode | Description | |
---|---|---|
Input ( ) : System | ||
Main ( string args ) : void |
AppConsole entry point
|
|
Stop ( int idx ) : void |
Stops input.
|
public static AddCommand ( MBCShellCommandHandler handler ) : void | ||
handler | MBCShellCommandHandler | The method to invoke from |
Résultat | void |
public static RunCommand ( string input ) : bool | ||
input | string | A string of input. |
Résultat | bool |