PostSharp 6.4 / / Post­Sharp Documentation / 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.4.11.0 (6.4.11.0)
Syntax
C#
public LessThanAttribute(
	double max
)

Parameters

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