C# Class Adf.Base.Validation.InRangeAttribute

Inheritance: System.Attribute, IPropertyValidator
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
InRangeAttribute ( double min, double max ) : System

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

Private Methods

Method Description
IsValid ( PropertyInfo propertyToValidate, object value ) : ValidationResult

Method Details

InRangeAttribute() public method

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.
return System