ContainsAny Method

CuttingEdge.Conditions

Overload List

  NameDescription
ContainsAny<(Of <(TCollection, TElement>)>)(ConditionValidator<(Of <(TCollection>)>), IEnumerable<(Of <(TElement>)>))
Checks whether the given value contains any of the specified elements. An exception is thrown otherwise. When the value is a null reference or an empty list it won't contain any elements. When the elements list is null or empty the collection is considered to not contain any element.
ContainsAny<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), IEnumerable)
Checks whether the given value contains any of the specified elements. An exception is thrown otherwise. When the value is a null reference or an empty list it won't contain any elements. When the elements list is null or empty the collection is considered to not contain any element.
ContainsAny<(Of <(TCollection, TElement>)>)(ConditionValidator<(Of <(TCollection>)>), IEnumerable<(Of <(TElement>)>), String)
Checks whether the given value contains any of the specified elements. An exception is thrown otherwise. When the value is a null reference or an empty list it won't contain any elements. When the elements list is null or empty the collection is considered to not contain any element.
ContainsAny<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), IEnumerable, String)
Checks whether the given value contains any of the specified elements. An exception is thrown otherwise. When the value is a null reference or an empty list it won't contain any elements. When the elements list is null or empty the collection is considered to not contain any element.

See Also