PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Strict­Range­Attribute Class / Strict­Range­Attribute Constructor / Strict­Range­Attribute Constructor (Double, Double)

StrictRangeAttribute Constructor (Double, Double)

Initializes a new StrictRangeAttribute with given floating-point bounds.

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public StrictRangeAttribute(
	double min,
	double max
)

Parameters

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