Click or drag to resize

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
Syntax
public static Type[] GetShellCommands(
	Assembly assembly
)

Parameters

assembly
Type: System.ReflectionAssembly
The assembly whose types to search.

Return Value

Type: Type
A list of types that inherit from ShellCommand and specify the ShellCommandAttribute attribute.
Exceptions
ExceptionCondition
ArgumentNullExceptionassembly is .
See Also