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