StrictRangeAttribute Constructor
StrictRangeAttribute(Int64, Int64)
Initializes a new StrictRangeAttribute with given integer bounds.
Declaration
public StrictRangeAttribute(long min, long max)
Parameters
Type | Name | Description |
---|---|---|
Int64 | min | The lower bound. |
Int64 | max | The lower bound. |
StrictRangeAttribute(UInt64, UInt64)
Initializes a new StrictRangeAttribute with given System.UInt64 bounds.
Declaration
public StrictRangeAttribute(ulong min, ulong max)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | min | The lower bound. |
System.UInt64 | 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 |
---|---|---|
System.Double | min | The lower bound. |
System.Double | max | The upper bound. |