CommandManagerRunCommand Method

Overload List

RunCommand Finds and instantiates the subcommand using the arguments from the EnvironmentGetCommandLineArgs method, using the first argument as the command name. If it succeeds, runs the command. If it fails, writes error and usage information.
RunCommand(ReadOnlyMemoryString) Finds and instantiates the subcommand with the name from the first argument, and if it succeeds, runs it. If it fails, writes error and usage information.
RunCommand(String) Finds and instantiates the subcommand with the name from the first argument, and if it succeeds, runs it. If it fails, writes error and usage information.
RunCommand(String, ReadOnlyMemoryString) Finds and instantiates the subcommand with the specified name, and if it succeeds, runs it. If it fails, writes error and usage information.
RunCommand(String, String) Finds and instantiates the subcommand with the specified name, and if it succeeds, runs it. If it fails, writes error and usage information.

See Also