Interface IOptionValidationBuilder
Creates a collection of validators for CommandOption.
Inherited Members
Namespace: McMaster.Extensions.CommandLineUtils.Validation
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public interface IOptionValidationBuilder : IValidationBuilder
Remarks
Custom validation extension methods that only apply to CommandOption should hang off this type.
Methods
| Improve this Doc View SourceUse(IOptionValidator)
Use the given IOptionValidator.
Declaration
void Use(IOptionValidator validator)
Parameters
Type | Name | Description |
---|---|---|
IOptionValidator | validator | The validator. |