CommandLineArgumentAttribute Constructor

Initializes a new instance of the CommandLineArgumentAttribute class using the specified argument name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public CommandLineArgumentAttribute(
	string? argumentName = null
)

Parameters

argumentName  String  (Optional)
The name of the argument, or to indicate the member name should be used, applying the NameTransform specified by the ParseOptionsArgumentNameTransform property or the ParseOptionsAttributeArgumentNameTransform property.

Remarks

The NameTransform will not be applied to explicitly specified names.

See Also