PostSharp//API Reference/Post­Sharp.​Patterns.​Contracts/Strictly­Greater­Than­Attribute/Strictly­Greater­Than­Attribute
Open sandboxFocus

Constructor StrictlyGreaterThanAttribute

StrictlyGreaterThanAttribute(Int64)

Initializes a new StrictlyGreaterThanAttribute with a given integer bound.

Declaration
public StrictlyGreaterThanAttribute(long min)
Parameters
Type Name Description
Int64 min

The lower bound.

StrictlyGreaterThanAttribute(UInt64)

Initializes a new StrictlyGreaterThanAttribute with a given UInt64 bound.

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

The lower bound.

StrictlyGreaterThanAttribute(Double)

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

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

The lower bound.