Method | Description | |
---|---|---|
Int32ValidatorAttribute ( ) : System |
Initializes a new instance of the Int32ValidatorAttribute class.
|
|
Int32ValidatorAttribute ( int minValue, int maxValue ) : System |
Initializes a new instance of the Int32ValidatorAttribute class with the specied minimum and maximum values.
|
|
Validate ( object value ) : void |
Checks whether the specified value can be converted to an Int32 and whether the value lies within the range defined by the MinValue and MaxValue properties.
|
public Int32ValidatorAttribute ( int minValue, int maxValue ) : System | ||
minValue | int | The minimum value. |
maxValue | int | The maximum value. |
return | System |
public Validate ( object value ) : void | ||
value | object | The value to be checked. |
return | void |