ParseOptionsAttributeArgumentNameTransform Property

Gets or sets a value that indicates how names are created for arguments that don't have an explicit name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public NameTransform ArgumentNameTransform { get; set; }

Property Value

NameTransform
One of the values of the NameTransform enumeration. The default value is NameTransformNone.

Remarks

If an argument doesn't have the CommandLineArgumentAttributeArgumentName property set, the argument name is determined by taking the name of the property or method that defines it, and applying the specified transformation.

The name transformation will also be applied to the names of the automatically added help and version attributes.

This value can be overridden by the ParseOptionsArgumentNameTransform property.

See Also