PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Range­Attribute Class / Range­Attribute Constructor
RangeAttribute Constructor
Overload List
  Name Description
Public method RangeAttribute(Decimal, Decimal) Obsolete.
Initializes a new GreaterThanAttribute and specify a Decimal bound.
Public method RangeAttribute(Double, Double)
Initializes a new GreaterThanAttribute and specify a floating-point bound.
Public method RangeAttribute(Int64, Int64)
Initializes a new GreaterThanAttribute and specify an integer bound.
Public method RangeAttribute(UInt64, UInt64)
Initializes a new GreaterThanAttribute and specify a UInt64 bound.
See Also