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