C# Class System.ComponentModel.DataAnnotations.DistinctAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Show file Open project: Kation/ComBoost

Protected Methods

Method 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 method

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
return System.ComponentModel.DataAnnotations.ValidationResult