Table of Contents

Method IsNotNullAndDoesNotContainAnyNulls

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

IsNotNullAndDoesNotContainAnyNulls<T>(IEnumerable<T>, string)

Ensures that the value of a parameter is not null and does not contain any nulls.

public static IEnumerable<T> IsNotNullAndDoesNotContainAnyNulls<T>(IEnumerable<T> values, string paramName) where T : class

Parameters

values IEnumerable<T>

The value of the parameter.

paramName string

The name of the parameter.

Returns

IEnumerable<T>

The value of the parameter.

Type Parameters

T

Type of the value.