Table of Contents

Method IsNullOrInfiniteOrGreaterThanOrEqualToZero

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.dll

IsNullOrInfiniteOrGreaterThanOrEqualToZero(TimeSpan?, string)

Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero.

public static TimeSpan? IsNullOrInfiniteOrGreaterThanOrEqualToZero(TimeSpan? value, string paramName)

Parameters

value TimeSpan?

The value of the parameter.

paramName string

The name of the parameter.

Returns

TimeSpan?

The value of the parameter.