Validator rule for data type properties. Validate that a decimal field has a value than falls within a minimum and maximum value.

Namespace: Composite.Data.Validation.Validators
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public DecimalRangeValidatorAttribute(
	decimal lowerBound,
	decimal upperBound
)
Visual Basic
Public Sub New ( _
	lowerBound As Decimal, _
	upperBound As Decimal _
)
Visual C++
public:
DecimalRangeValidatorAttribute(
	Decimal lowerBound, 
	Decimal upperBound
)

Parameters

lowerBound
Type: System..::..Decimal

[Missing <param name="lowerBound"/> documentation for "M:Composite.Data.Validation.Validators.DecimalRangeValidatorAttribute.#ctor(System.Decimal,System.Decimal)"]

upperBound
Type: System..::..Decimal

[Missing <param name="upperBound"/> documentation for "M:Composite.Data.Validation.Validators.DecimalRangeValidatorAttribute.#ctor(System.Decimal,System.Decimal)"]

See Also