Method IsNullOrValidTimeout
IsNullOrValidTimeout(TimeSpan?, string)
Ensures that the value of a parameter is null or a valid timeout.
public static TimeSpan? IsNullOrValidTimeout(TimeSpan? value, string paramName)
Parameters
Returns
- TimeSpan?
The value of the parameter.