C# Class HermaFx.DataAnnotations.MinElementsIfAttribute

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value, object dependentValue, object container ) : bool
MinElementsIfAttribute ( uint elements, string dependentProperty, Operator @operator, object dependentValue ) : System
MinElementsIfAttribute ( uint elements, 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

MinElementsIfAttribute() public méthode

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

MinElementsIfAttribute() public méthode

public MinElementsIfAttribute ( uint elements, string dependentProperty, object dependentValue ) : System
elements uint
dependentProperty string
dependentValue object
Résultat System