CollectionUtilities..::..ContainsOnly<(Of <(<'T>)>)> Method
Determines whether the source contains all of the specified values and nothing else.
Namespace:
Tortuga.AnchorAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
public static bool ContainsOnly<T>( this IEnumerable<T> source, params T[] values )
<ExtensionAttribute> _ Public Shared Function ContainsOnly(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.

