Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Range­Attribute Class / Range­Attribute Constructor / Range­Attribute Constructor (UInt64, UInt64)

RangeAttribute Constructor (UInt64, UInt64)

Initializes a new GreaterThanAttribute and specify a UInt64 bound.

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

Parameters

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