Open sandboxFocus

Constructor StrictRangeAttribute

StrictRangeAttribute(long, long)

Initializes a new instance of the StrictRangeAttribute class with given integer bounds.

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

The lower bound.

long max

The upper bound.

StrictRangeAttribute(ulong, ulong)

Initializes a new instance of the StrictRangeAttribute class 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 instance of the StrictRangeAttribute class 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.