Syntax
| C# |
|---|
public interface IValidator |
The type exposes the following members.
Public Methods
| Name | Description | |
|---|---|---|
| ApplyBrowserValidation |
Applies the browser validation by setting up one or
more input rules on IBrowserValidationGenerator.
| |
| Initialize |
Implementors should perform any initialization logic
| |
| IsValid | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| ErrorMessage |
The error message to be displayed if the validation fails
| |
| ExecutionOrder |
Gets or sets the validation execution order.
| |
| FriendlyName |
Gets or sets the a friendly name for the target property
| |
| Name |
Gets the property name. The FriendlyName
is returned if non-null, otherwise it will return the property name.
| |
| Property |
The target property
| |
| RunWhen |
Defines when to run the validation.
Defaults to RunWhen.Everytime | |
| SupportsBrowserValidation |
Gets a value indicating whether this validator supports browser validation.
|
See Also
Castle.Components.Validator Namespace