Open sandboxFocus

Constructor StrictRangeAttribute

StrictRangeAttribute(long, long)

Initializes a new StrictRangeAttribute with given integer bounds.

Declaration
public StrictRangeAttribute(long min, long max)
Parameters
Type Name Description
long min

The lower bound.

long max

The lower bound.

StrictRangeAttribute(ulong, ulong)

Initializes a new StrictRangeAttribute with given ulong bounds.

Declaration
public StrictRangeAttribute(ulong min, ulong max)
Parameters
Type Name Description
ulong min

The lower bound.

ulong max

The upper bound.

StrictRangeAttribute(double, double)

Initializes a new StrictRangeAttribute with given floating-point bounds.

Declaration
public StrictRangeAttribute(double min, double max)
Parameters
Type Name Description
double min

The lower bound.

double max

The upper bound.