C# Class System.ComponentModel.DataAnnotations.DistinctAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: Kation/ComBoost

Méthodes protégées

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

Validates the specified value with respect to the current validation attribute.

Method Details

IsValid() protected méthode

Validates the specified value with respect to the current validation attribute.
protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
validationContext System.ComponentModel.DataAnnotations.ValidationContext
Résultat System.ComponentModel.DataAnnotations.ValidationResult