PostSharpAPI 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
Int64 min

The lower bound.

GreaterThanAttribute(UInt64)

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

Declaration
public GreaterThanAttribute(ulong min)
Parameters
Type Name Description
System.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
System.Double min

The lower bound.