Méthode | Description | |
---|---|---|
ApplyBrowserValidation ( |
Applies the browser validation by setting up one or more input rules on IBrowserValidationGenerator.
|
|
IsUniqueValidator ( ) : System |
Initializes a new instance of the IsUniqueValidator class.
|
|
IsValid ( object instance, object fieldValue ) : bool |
Perform the check that the property value is unqiue in the table
|
Méthode | Description | |
---|---|---|
BuildErrorMessage ( ) : string |
Builds the error message when the property value is not unique
|
Méthode | Description | |
---|---|---|
CheckUniqueness ( ISession session, object instance ) : object |
public ApplyBrowserValidation ( |
||
config | The config. | |
inputType | InputElementType | Type of the input. |
generator | IBrowserValidationGenerator | The generator. |
attributes | IDictionary | The attributes. |
target | string | The target. |
Résultat | void |
public IsValid ( object instance, object fieldValue ) : bool | ||
instance | object | |
fieldValue | object | |
Résultat | bool |