Method | Description | |
---|---|---|
CanValidate ( |
Determines whether this instance can validate the specified type.
|
|
DurationValidator ( System.Duration minValue, System.Duration maxValue, bool rangeIsExclusive = false ) : System |
Initializes a new instance of the DurationValidator class.
|
|
Validate ( object value ) : void |
Determines whether the value of an object is valid.
|
public CanValidate ( |
||
type | The type. | |
return | bool |
public DurationValidator ( System.Duration minValue, System.Duration maxValue, bool rangeIsExclusive = false ) : System | ||
minValue | System.Duration | The minimum duration allowed to pass validation (inclusive). |
maxValue | System.Duration | The maximum duration allowed to pass validation (exclusive). |
rangeIsExclusive | bool | If set to |
return | System |
public Validate ( object value ) : void | ||
value | object | The object value. |
return | void |