Interface IPropertyValidator
Property validator
Namespace: Simplic.UI.MVC
Assembly: Simplic.UI.dll
Syntax
public interface IPropertyValidatorProperties
| Improve this Doc View SourceMessage
Gets the default message for this validator
Declaration
[Browsable(false)]
IValidationErrorMessage Message { get; }Property Value
| Type | Description | 
|---|---|
| IValidationErrorMessage | 
Name
Gets the name of the validator
Declaration
[Browsable(false)]
string Name { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceValidate(Object)
Execute a value validation
Declaration
bool Validate(object value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | Value to validate | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | Return true if the value is valid, else false |