CommandAttribute Constructor

Initializes a new instance of the CommandAttribute class using the target's type name as the command name.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public CommandAttribute()

Remarks

If a command does not have an explicit name, its name is determined by taking the type name and applying the transformation specified by the CommandOptionsCommandNameTransform property.

See Also