Method IsInfiniteOrGreaterThanZero
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
IsInfiniteOrGreaterThanZero(TimeSpan, string)
Ensures that the value of a parameter is infinite or greater than zero.
public static TimeSpan IsInfiniteOrGreaterThanZero(TimeSpan value, string paramName)
Parameters
value
TimeSpan
The value of the parameter.
paramName
string
The name of the parameter.
Returns
The value of the parameter.