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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsShellCommand
Determines whether the specified type is a shell command type.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(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