RangeAttribute Constructor (Double, Double) |
Initializes a new GreaterThanAttribute and specify a floating-point bound.
Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public RangeAttribute( double min, double max )
Parameters
- min
- Type: System.Double
The lower bound. - max
- Type: System.Double
The upper bound.