ShellCommand Methods |
The ShellCommand type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateShellCommand(Assembly, String, Int32) |
Finds and instantiates the shell command from the specified arguments, or if that fails, writes error and usage information to the standard error and output streams.
| |
| CreateShellCommand(Assembly, String, String, Int32) |
Finds and instantiates the shell command with the specified name, or if that fails, writes error and usage information to the standard error and output streams.
| |
| CreateShellCommand(Assembly, String, Int32, CreateShellCommandOptions) |
Finds and instantiates the shell command from the specified arguments, or if that fails, writes error and usage information to the specified writers.
| |
| CreateShellCommand(Assembly, String, String, Int32, CreateShellCommandOptions) |
Finds and instantiates the shell command with the specified name, or if that fails, writes error and usage information to the specified writers.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetShellCommand(Assembly, String) |
Gets the shell command with the specified command name, using a case-insensitive string comparison for the command names.
| |
| GetShellCommand(Assembly, String, IEqualityComparerString) |
Gets the shell command with the specified command name, using the specified IEqualityComparerT to compare command names.
| |
| GetShellCommandDescription |
Gets the description of the specified shell command.
| |
| GetShellCommandName |
Gets the name of the specified shell command.
| |
| GetShellCommands |
Gets the Type instance for shell commands defined in the specified assembly.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsShellCommand |
Determines whether the specified type is a shell command type.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Run |
When implemented in a derived class, executes the command.
| |
| RunShellCommand(Assembly, String, Int32) |
Runs a shell command with the specified arguments; if the command name or arguments are invalid, prints error and usage information.
| |
| RunShellCommand(Assembly, String, String, Int32) |
Runs the specified shell command with the specified arguments; if the command name or arguments are invalid, prints error and usage information.
| |
| RunShellCommand(Assembly, String, Int32, CreateShellCommandOptions) |
Runs a shell command with the specified arguments; if the command name or arguments are invalid, prints error and usage information.
| |
| RunShellCommand(Assembly, String, String, Int32, CreateShellCommandOptions) |
Runs the specified shell command with the specified arguments; if the command name or arguments are invalid, prints error and usage information.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteAssemblyCommandList(TextWriter, Assembly) |
Writes a list of all the shell commands in the specified assembly to the specified TextWriter.
| |
| WriteAssemblyCommandList(TextWriter, Assembly, String) |
Writes a list of all the shell commands in the specified assembly to the specified TextWriter using the specified formatting options.
| |
| WriteAssemblyCommandListToConsole |
Writes a list of all the shell commands in the specified assembly to the standard output stream.
|