CliValidationExtensionsAddValidator Method

Overload List

AddValidator(CliArgument, CliValidationRules) Adds validation rules to an argument. Validation rules can be used to provide errors based on user input.
AddValidator(CliOption, CliValidationRules) Adds validation rules to an option's argument. Validation rules can be used to provide errors based on user input.
AddValidator(CliArgument, String, String) Adds a validation pattern to an argument. A validation pattern can be used to provide errors based on user input.
AddValidator(CliOption, String, String) Adds a validation pattern to an option's argument. A validation pattern can be used to provide errors based on user input.

See Also