PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Less­Than­Attribute Class/Less­Than­Attribute Constructor/Less­Than­Attribute Constructor (Double)

LessThanAttribute Constructor (Double)

Initializes a new LessThanAttribute with a given floating-point bound.

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public LessThanAttribute(
	double max
)

Parameters

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