Ensure Class |
Namespace: MongoDB.Driver.Core.Misc
The Ensure type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | HasValue<T> |
Ensures that the value of a parameter is not null.
|
![]() ![]() | IsBetween<T> |
Ensures that the value of a parameter is between a minimum and a maximum value.
|
![]() ![]() | IsEqualTo<T> |
Ensures that the value of a parameter is equal to a comparand.
|
![]() ![]() | IsGreaterThan<T> |
Ensures that the value of a parameter is greater than a comparand.
|
![]() ![]() | IsGreaterThanOrEqualTo<T> |
Ensures that the value of a parameter is greater than or equal to a comparand.
|
![]() ![]() | IsGreaterThanOrEqualToZero(Int32, String) |
Ensures that the value of a parameter is greater than or equal to zero.
|
![]() ![]() | IsGreaterThanOrEqualToZero(Int64, String) |
Ensures that the value of a parameter is greater than or equal to zero.
|
![]() ![]() | IsGreaterThanOrEqualToZero(TimeSpan, String) |
Ensures that the value of a parameter is greater than or equal to zero.
|
![]() ![]() | IsGreaterThanZero(Double, String) |
Ensures that the value of a parameter is greater than zero.
|
![]() ![]() | IsGreaterThanZero(Int32, String) |
Ensures that the value of a parameter is greater than zero.
|
![]() ![]() | IsGreaterThanZero(Int64, String) |
Ensures that the value of a parameter is greater than zero.
|
![]() ![]() | IsGreaterThanZero(TimeSpan, String) |
Ensures that the value of a parameter is greater than zero.
|
![]() ![]() | IsInfiniteOrGreaterThanOrEqualToZero |
Ensures that the value of a parameter is infinite or greater than or equal to zero.
|
![]() ![]() | IsInfiniteOrGreaterThanZero |
Ensures that the value of a parameter is infinite or greater than zero.
|
![]() ![]() | IsNotNull<T> |
Ensures that the value of a parameter is not null.
|
![]() ![]() | IsNotNullAndDoesNotContainAnyNulls<T> |
Ensures that the value of a parameter is not null and does not contain any nulls.
|
![]() ![]() | IsNotNullOrEmpty |
Ensures that the value of a parameter is not null or empty.
|
![]() ![]() | IsNull<T> |
Ensures that the value of a parameter is null.
|
![]() ![]() | IsNullOrBetween<T> |
Ensures that the value of a parameter is null or is between a minimum and a maximum value.
|
![]() ![]() | IsNullOrGreaterThanOrEqualToZero(Nullable<Int32>, String) |
Ensures that the value of a parameter is null or greater than or equal to zero.
|
![]() ![]() | IsNullOrGreaterThanOrEqualToZero(Nullable<Int64>, String) |
Ensures that the value of a parameter is null or greater than or equal to zero.
|
![]() ![]() | IsNullOrGreaterThanZero(Nullable<Int32>, String) |
Ensures that the value of a parameter is null or greater than zero.
|
![]() ![]() | IsNullOrGreaterThanZero(Nullable<Int64>, String) |
Ensures that the value of a parameter is null or greater than zero.
|
![]() ![]() | IsNullOrGreaterThanZero(Nullable<TimeSpan>, String) |
Ensures that the value of a parameter is null or greater than zero.
|
![]() ![]() | IsNullOrInfiniteOrGreaterThanOrEqualToZero |
Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero.
|
![]() ![]() | IsNullOrNotEmpty |
Ensures that the value of a parameter is null or not empty.
|
![]() ![]() | IsNullOrValidTimeout |
Ensures that the value of a parameter is null or a valid timeout.
|
![]() ![]() | IsValidTimeout |
Ensures that the value of a parameter is a valid timeout.
|
![]() ![]() | That(Boolean, String) |
Ensures that an assertion is true.
|
![]() ![]() | That(Boolean, String, String) |
Ensures that an assertion is true.
|
![]() ![]() | That<T>(T, Func<T, Boolean>, String, String) |
Ensures that the value of a parameter meets an assertion.
|