CollectionUtilities..::..ContainsAllOf<(Of <(<'T>)>)> Method

Determines whether the source contains all of the specified values.

Namespace:  Tortuga.Anchor
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public static bool ContainsAllOf<T>(
	IEnumerable<T> source,
	params T[] values
)
Public Shared Function ContainsAllOf(Of T) ( _
	source As IEnumerable(Of T), _
	ParamArray values As T() _
) As Boolean

Type Parameters

T

Parameters

source
Type: IEnumerable<(Of <(<'T>)>)>
The source to be checked.
values
Type: array<T>[]()[][]
The values.

Return Value

true if the source contains all of the specified values; otherwise, false.

Remarks


Duplicates in either collection will be ignored.