C# Class HermaFx.DataAnnotations.RequiredIfAttribute

Inheritance: ContingentValidationAttribute
Afficher le fichier Open project: evicertia/HermaFx

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value, object dependentValue, object container ) : bool
RequiredIfAttribute ( string dependentProperty, Operator @operator, object dependentValue ) : System
RequiredIfAttribute ( string dependentProperty, object dependentValue ) : System

Méthodes protégées

Méthode Description
GetClientValidationParameters ( ) : object>>.IEnumerable

Method Details

FormatErrorMessage() public méthode

public FormatErrorMessage ( string name ) : string
name string
Résultat string

GetClientValidationParameters() protected méthode

protected GetClientValidationParameters ( ) : object>>.IEnumerable
Résultat object>>.IEnumerable

IsValid() public méthode

public IsValid ( object value, object dependentValue, object container ) : bool
value object
dependentValue object
container object
Résultat bool

RequiredIfAttribute() public méthode

public RequiredIfAttribute ( string dependentProperty, Operator @operator, object dependentValue ) : System
dependentProperty string
@operator Operator
dependentValue object
Résultat System

RequiredIfAttribute() public méthode

public RequiredIfAttribute ( string dependentProperty, object dependentValue ) : System
dependentProperty string
dependentValue object
Résultat System