PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Range­Attribute Class/Range­Attribute Constructor/Range­Attribute Constructor (Int64, Int64)

RangeAttribute Constructor (Int64, Int64)

Initializes a new GreaterThanAttribute and specify an integer bound.

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.10.0 (6.5.10.0)
Syntax
C#
public RangeAttribute(
	long min,
	long max
)

Parameters

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