Interface IGetsBaseValidator
An object which can get an instance of Validator<TValidated>, the basic/fundamental part of the validator.
Namespace: CSF.Validation
Assembly: CSF.Validation.dll
Syntax
public interface IGetsBaseValidator
Methods
| Improve this Doc View SourceGetValidator(ValidationManifest)
Gets a validator from a validation manifest.
Declaration
IValidator GetValidator(ValidationManifest manifest)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationManifest | manifest | The validation manifest. |
Returns
| Type | Description |
|---|---|
| IValidator | The validator. |
GetValidator<TValidated>(IBuildsValidator<TValidated>)
Gets a strongly-typed generic validator, from a validator builder instance.
Declaration
IValidator<TValidated> GetValidator<TValidated>(IBuildsValidator<TValidated> builder)
Parameters
| Type | Name | Description |
|---|---|---|
| IBuildsValidator<TValidated> | builder | The validator builder. |
Returns
| Type | Description |
|---|---|
| IValidator<TValidated> | The validator. |
Type Parameters
| Name | Description |
|---|---|
| TValidated | The validated type. |