C# Class Adf.Base.Validation.InRangeAttribute

Inheritance: System.Attribute, IPropertyValidator
Afficher le fichier Open project: NLADP/ADF

Méthodes publiques

Méthode Description
InRangeAttribute ( double min, double max ) : System

Creates a new InRangeAttribute instance with the supplied minimum and maximum value.

Private Methods

Méthode Description
IsValid ( PropertyInfo propertyToValidate, object value ) : ValidationResult

Method Details

InRangeAttribute() public méthode

Creates a new InRangeAttribute instance with the supplied minimum and maximum value.
public InRangeAttribute ( double min, double max ) : System
min double The minimum value of the range.
max double The maximum value of the range.
Résultat System