LessThanAttribute Constructor
LessThanAttribute(Int64)
Initializes a new LessThanAttribute with a given integer bound.
Declaration
public LessThanAttribute(long max)
Parameters
Type | Name | Description |
---|---|---|
Int64 | max | The upper bound. |
LessThanAttribute(UInt64)
Initializes a new LessThanAttribute with a given System.UInt64 bound.
Declaration
public LessThanAttribute(ulong max)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | max | The upper bound. |
LessThanAttribute(Double)
Initializes a new LessThanAttribute with a given floating-point bound.
Declaration
public LessThanAttribute(double max)
Parameters
Type | Name | Description |
---|---|---|
System.Double | max | The upper bound. |