PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ContractsGreater­Than­AttributeGreater­Than­Attribute
Open sandboxFocus

GreaterThanAttribute Constructor

GreaterThanAttribute(Int64)

Initializes a new GreaterThanAttribute with a given integer bound.

Declaration
public GreaterThanAttribute(long min)
Parameters
Type Name Description
System.Int64 min

The lower bound.

GreaterThanAttribute(UInt64)

Initializes a new GreaterThanAttribute with a given UInt64 bound.

Declaration
public GreaterThanAttribute(ulong min)
Parameters
Type Name Description
UInt64 min

The lower bound.

GreaterThanAttribute(Double)

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

Declaration
public GreaterThanAttribute(double min)
Parameters
Type Name Description
Double min

The lower bound.