ShellCommandGetShellCommands Method |
Gets the
Type instance for shell commands defined in the specified assembly.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic static Type[] GetShellCommands(
Assembly assembly
)
Public Shared Function GetShellCommands (
assembly As Assembly
) As Type()
Dim assembly As [Assembly]
Dim returnValue As Type()
returnValue = ShellCommand.GetShellCommands(assembly)
public:
static array<Type^>^ GetShellCommands(
Assembly^ assembly
)
Parameters
- assembly
- Type: System.ReflectionAssembly
The assembly whose types to search.
Return Value
Type:
TypeA list of types that inherit from
ShellCommand and specify the
ShellCommandAttribute attribute.
Exceptions
See Also