PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Range­Attribute Class / Range­Attribute Constructor / Range­Attribute Constructor (Double, Double)
RangeAttribute Constructor (Double, Double)
Initializes a new GreaterThanAttribute and specify a floating-point bound.

Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public RangeAttribute(
	double min,
	double max
)

Parameters

min
Type: System.Double
The lower bound.
max
Type: System.Double
The upper bound.
See Also