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: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
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