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