ValidateEnumValueAttributeAllowCommaSeparatedValues Property

Gets or sets a value that indicates whether the value provided by the user can use commas to provide multiple values that will be combined with bitwise-or.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public bool AllowCommaSeparatedValues { get; set; }

Property Value

Boolean
if comma-separated values are allowed; otherwise, . The default value is .

Remarks

This property is not used by the ValidateEnumValueAttribute class itself, but by the EnumConverter class. Therefore, this property may not work if a custom argument converter is used, unless that custom converter also checks this property.

See Also