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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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