Table of Contents

Method IsGreaterThanOrEqualTo

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

IsGreaterThanOrEqualTo<T>(T, T, string)

Ensures that the value of a parameter is greater than or equal to a comparand.

public static T IsGreaterThanOrEqualTo<T>(T value, T comparand, string paramName) where T : IComparable<T>

Parameters

value T

The value of the parameter.

comparand T

The comparand.

paramName string

The name of the parameter.

Returns

T

The value of the parameter.

Type Parameters

T

Type type of the value.