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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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