CommandAttribute(String) Constructor

Initializes a new instance of the CommandAttribute class using the specified command name.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public CommandAttribute(
	string commandName
)

Parameters

commandName  String
The name of the command, which can be used to invoke the command or to retrieve it using the CommandManagerGetCommand(String) method.

Exceptions

ArgumentNullExceptioncommandName is .

See Also