UsageWriterIncludeValidatorsInDescription Property

Gets or sets a value indicating whether the ArgumentValidationAttribute attributes of an argument should be included in the argument description.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
C#
public bool IncludeValidatorsInDescription { get; set; }

Property Value

Boolean
if the validator descriptions should be included in; otherwise, . The default value is .

Remarks

For arguments with no validators, or validators with no usage help, this property has no effect.

See Also