Defines the basic contract for validators.
Namespace: Castle.Components.Validator
To create a new validation you should use AbstractValidator as it implements most of the common methods and properties.
The validation should happen at IsValid, and if the validator can configure a client-side validation script, it should use the SupportsBrowserValidation to indicate that it does support client-side validation and also implement the ApplyBrowserValidation(BrowserValidationConfiguration, InputElementType, IBrowserValidationGenerator, IDictionary, String) to configure it.
Assembly: Castle.Components.Validator (in Castle.Components.Validator.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
public interface IValidator |
See Also
IValidator Members
Castle.Components.Validator Namespace