GreaterThanAttribute(long, int)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type long.
Declaration
public GreaterThanAttribute(long min, int decimalPlaces = 0)
Parameters
Type | Name | Description |
---|---|---|
long | min | The minimum allowed value. |
int | decimalPlaces | When non-zero, interprets the |
GreaterThanAttribute(int, int)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type int.
Declaration
public GreaterThanAttribute(int min, int decimalPlaces = 0)
Parameters
Type | Name | Description |
---|---|---|
int | min | The minimum allowed value. |
int | decimalPlaces | When non-zero, interprets the |
GreaterThanAttribute(short)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type short.
Declaration
public GreaterThanAttribute(short min)
Parameters
Type | Name | Description |
---|---|---|
short | min | The minimum allowed value. |
GreaterThanAttribute(sbyte)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type sbyte.
Declaration
public GreaterThanAttribute(sbyte min)
Parameters
Type | Name | Description |
---|---|---|
sbyte | min | The minimum allowed value. |
GreaterThanAttribute(ulong)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type ulong.
Declaration
public GreaterThanAttribute(ulong min)
Parameters
Type | Name | Description |
---|---|---|
ulong | min | The minimum allowed value. |
GreaterThanAttribute(uint)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type uint.
Declaration
public GreaterThanAttribute(uint min)
Parameters
Type | Name | Description |
---|---|---|
uint | min | The minimum allowed value. |
GreaterThanAttribute(ushort)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type ushort.
Declaration
public GreaterThanAttribute(ushort min)
Parameters
Type | Name | Description |
---|---|---|
ushort | min | The minimum allowed value. |
GreaterThanAttribute(byte)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type byte.
Declaration
public GreaterThanAttribute(byte min)
Parameters
Type | Name | Description |
---|---|---|
byte | min | The minimum allowed value. |
GreaterThanAttribute(double)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type double.
Declaration
public GreaterThanAttribute(double min)
Parameters
Type | Name | Description |
---|---|---|
double | min | The minimum allowed value. |
GreaterThanAttribute(float)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type float.
Declaration
public GreaterThanAttribute(float min)
Parameters
Type | Name | Description |
---|---|---|
float | min | The minimum allowed value. |
GreaterThanAttribute(decimal)
Initializes a new instance of the GreaterThanAttribute class specifying a minimum value of type decimal.
Declaration
public GreaterThanAttribute(decimal min)
Parameters
Type | Name | Description |
---|---|---|
decimal | min | The minimum allowed value. |