Method IsGreaterThanZero
IsGreaterThanZero(int, string)
Ensures that the value of a parameter is greater than zero.
public static int IsGreaterThanZero(int value, string paramName)
Parameters
Returns
- int
The value of the parameter.
IsGreaterThanZero(long, string)
Ensures that the value of a parameter is greater than zero.
public static long IsGreaterThanZero(long value, string paramName)
Parameters
Returns
- long
The value of the parameter.
IsGreaterThanZero(double, string)
Ensures that the value of a parameter is greater than zero.
public static double IsGreaterThanZero(double value, string paramName)
Parameters
Returns
- double
The value of the parameter.
IsGreaterThanZero(TimeSpan, string)
Ensures that the value of a parameter is greater than zero.
public static TimeSpan IsGreaterThanZero(TimeSpan value, string paramName)
Parameters
Returns
- TimeSpan
The value of the parameter.