Method IsNotNullAndDoesNotContainAnyNulls
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
stringThe name of the parameter.
Returns
- IEnumerable<T>
The value of the parameter.
Type Parameters
T
Type of the value.