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
valuesIEnumerable<T>The value of the parameter.
paramNamestringThe name of the parameter.
Returns
- IEnumerable<T>
The value of the parameter.
Type Parameters
TType of the value.