RangeValidatorAttribute Constructor (Double, RangeBoundaryType, Double, RangeBoundaryType)
Initializes a new instance of the RangeValidatorAttribute class with fully specified double bound constraints.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public RangeValidatorAttribute(
double lowerBound,
RangeBoundaryType lowerBoundType,
double upperBound,
RangeBoundaryType upperBoundType
)
'Declaration
Public Sub New (
lowerBound As Double,
lowerBoundType As RangeBoundaryType,
upperBound As Double,
upperBoundType As RangeBoundaryType
)
public:
RangeValidatorAttribute(
double lowerBound,
RangeBoundaryType lowerBoundType,
double upperBound,
RangeBoundaryType upperBoundType
)
Parameters
- lowerBound
Type: System.Double
The lower bound.
- lowerBoundType
Type: Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType
The indication of how to perform the lower bound check.
- upperBound
Type: System.Double
The upper bound.
- upperBoundType
Type: Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType
The indication of how to perform the upper bound check.
See Also
RangeValidatorAttribute Members
RangeValidatorAttribute Overload
Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace
Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType