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