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