C# Class ExpressiveAnnotations.MvcWebSample.Inheritance.CustomRequiredIfAttribute

Inheritance: ExpressiveAnnotations.Attributes.ExpressiveAttribute
Afficher le fichier Open project: jwaliszko/ExpressiveAnnotations

Méthodes publiques

Méthode Description
CustomRequiredIfAttribute ( string expression ) : System.ComponentModel.DataAnnotations

Méthodes protégées

Méthode Description
IsValidInternal ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult

Method Details

CustomRequiredIfAttribute() public méthode

public CustomRequiredIfAttribute ( string expression ) : System.ComponentModel.DataAnnotations
expression string
Résultat System.ComponentModel.DataAnnotations

IsValidInternal() protected méthode

protected IsValidInternal ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
validationContext System.ComponentModel.DataAnnotations.ValidationContext
Résultat System.ComponentModel.DataAnnotations.ValidationResult