Open sandboxFocus

Constructor RangeAttribute

RangeAttribute(long, long)

Initializes a new GreaterThanAttribute and specify an integer bound.

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 GreaterThanAttribute and specify a ulong bound.

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 GreaterThanAttribute and specify a floating-point bound.

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

The lower bound.

double max

The upper bound.