ParseOptionsDefaultValueDescriptions Property

Gets or sets a dictionary containing default value descriptions for types.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public IDictionary<Type, string>? DefaultValueDescriptions { get; set; }

Property Value

IDictionaryType, String
A dictionary containing default value descriptions for types, or .

Remarks

The value description is a short, typically one-word description that indicates the type of value that the user should supply. It is not the long description used to describe the purpose of the argument.

If an argument doesn't have the ValueDescriptionAttribute attribute applied, the value description will be determined by first checking this dictionary. If the type of the argument isn't in the dictionary, the type name is used, applying the transformation specified by the ValueDescriptionTransform property.

See Also