CommandAttributeCommandName Property

Gets the name of the command, which can be used to invoke the command or to retrieve it using the CommandManagerGetCommand(String) method.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public string? CommandName { get; }

Property Value

String
The name of the command, or if the target type name will be used as the name.

See Also