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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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