Click or drag to resize

ShellCommand Methods

The ShellCommand type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateShellCommand(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.
Public methodStatic memberCreateShellCommand(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.
Public methodStatic memberCreateShellCommand(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.
Public methodStatic memberCreateShellCommand(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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetShellCommand(Assembly, String)
Gets the shell command with the specified command name, using a case-insensitive string comparison for the command names.
Public methodStatic memberGetShellCommand(Assembly, String, IEqualityComparerString)
Public methodStatic memberGetShellCommandDescription
Gets the description of the specified shell command.
Public methodStatic memberGetShellCommandName
Gets the name of the specified shell command.
Public methodStatic memberGetShellCommands
Gets the Type instance for shell commands defined in the specified assembly.
Public methodGetType (Inherited from Object.)
Public methodStatic memberIsShellCommand
Determines whether the specified type is a shell command type.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRun
When implemented in a derived class, executes the command.
Public methodStatic memberRunShellCommand(Assembly, String, Int32)
Runs a shell command with the specified arguments; if the command name or arguments are invalid, prints error and usage information.
Public methodStatic memberRunShellCommand(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.
Public methodStatic memberRunShellCommand(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.
Public methodStatic memberRunShellCommand(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.
Public methodToString (Inherited from Object.)
Public methodStatic memberWriteAssemblyCommandList(TextWriter, Assembly)
Writes a list of all the shell commands in the specified assembly to the specified TextWriter.
Public methodStatic memberWriteAssemblyCommandList(TextWriter, Assembly, String)
Writes a list of all the shell commands in the specified assembly to the specified TextWriter using the specified formatting options.
Public methodStatic memberWriteAssemblyCommandListToConsole
Writes a list of all the shell commands in the specified assembly to the standard output stream.
Top
See Also