Interface IGetsValidatorBuilder
An object which creates instances of ValidatorBuilder<TValidated>.
Namespace: CSF.Validation.ValidatorBuilding
Assembly: CSF.Validation.dll
Syntax
public interface IGetsValidatorBuilder
Methods
| Improve this Doc View SourceGetValidatorBuilder<TValidated>(ValidatorBuilderContext)
Gets the validator builder object, optionally for a specified validator builder context.
Declaration
IConfiguresValidator<TValidated> GetValidatorBuilder<TValidated>(ValidatorBuilderContext context = null)
Parameters
Type | Name | Description |
---|---|---|
ValidatorBuilderContext | context | An optional validator builder context; if null then a new/empty context will be created. |
Returns
Type | Description |
---|---|
IConfiguresValidator<TValidated> | A validator builder. |
Type Parameters
Name | Description |
---|---|
TValidated | The type of object to be validated. |