Interface IBuildsValidator<TValidated>
An object which may be used to build a validator, specifying its configuration such as the rules which the validator will use.
Namespace: CSF.Validation
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IBuildsValidator<TValidated>
Type Parameters
Name | Description |
---|---|
TValidated | The object type which the created validator will be used to validate. |
Methods
| Improve this Doc View SourceConfigureValidator(IConfiguresValidator<TValidated>)
Configures the validator using a helper object.
Declaration
void ConfigureValidator(IConfiguresValidator<TValidated> config)
Parameters
Type | Name | Description |
---|---|---|
IConfiguresValidator<TValidated> | config | A helper object which is used to configure the validator. |