CliOptionAttributeValidationPattern Property
Gets or sets a regular expression pattern used to determine if option's argument value(s) is valid.
Note that you can specify regular expression options inline in the pattern with the syntax (?imnsx-imnsx):
ValidationPattern = @"(?i)^[a-z]+$"
Regular expression quick referenceRegular expression optionsNamespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
public string ValidationPattern { get; set; }
Property Value
String