Namespace McMaster.Extensions.CommandLineUtils.Validation
Classes
AttributeValidator
A validator that uses a System.ComponentModel.DataAnnotations.ValidationAttribute to validate a command, command line option, or argument.
DelegateValidator
Implements a validator with an anonymous function
FilePathExistsAttributeBase
Base type for attributes that check for existing files or directories.
FilePathNotExistsAttributeBase
Base type for attributes that check for files or directories not existing.
ValidationBuilder
Default implementation of IOptionValidationBuilder and IArgumentValidationBuilder.
ValidationBuilder<T>
Default implementation of IOptionValidationBuilder<T> and IArgumentValidationBuilder<T>.
Interfaces
IArgumentValidationBuilder
Creates a collection of validators for CommandArgument.
IArgumentValidationBuilder<T>
Creates a collection of validators for CommandArgument<T>.
IArgumentValidator
Provides validation for a CommandArgument.
ICommandValidator
Provides validation on a command
IOptionValidationBuilder
Creates a collection of validators for CommandOption.
IOptionValidationBuilder<T>
Creates a collection of validators for CommandOption<T>.
IOptionValidator
Provides validation for a CommandOption.
IValidationBuilder
Creates a collection of validators.
IValidationBuilder<T>
Creates a collection of validators on CommandOption<T> or CommandArgument<T>
IValidator
Provides validation for CommandArgument and CommandOption.