PostSharpAPI ReferencePost­Sharp.​Patterns.​ContractsStrictly­Less­Than­AttributeStrictly­Less­Than­Attribute
Open sandboxFocus

StrictlyLessThanAttribute Constructor

StrictlyLessThanAttribute(Int64)

Initializes a new StrictlyLessThanAttribute with a given integer bound.

Declaration
public StrictlyLessThanAttribute(long max)
Parameters
Type Name Description
Int64 max

The upper bound.

StrictlyLessThanAttribute(UInt64)

Initializes a new StrictlyLessThanAttribute with a given System.UInt64 bound.

Declaration
public StrictlyLessThanAttribute(ulong max)
Parameters
Type Name Description
System.UInt64 max

The upper bound.

StrictlyLessThanAttribute(Double)

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

Declaration
public StrictlyLessThanAttribute(double max)
Parameters
Type Name Description
System.Double max

The upper bound.