Open sandboxFocus

Constructor RangeAttribute

RangeAttribute(long, long)

Initializes a new instance of the RangeAttribute class and specifies integer bounds.

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

The lower bound.

long max

The upper bound.

RangeAttribute(ulong, ulong)

Initializes a new instance of the RangeAttribute class and specifies ulong bounds.

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

The lower bound.

ulong max

The upper bound.

RangeAttribute(double, double)

Initializes a new instance of the RangeAttribute class and specifies floating-point bounds.

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

The lower bound.

double max

The upper bound.