Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.ContainsAll Method

Determines whether the collection contains all the elements in the specified collection.

[Visual Basic]
Public Shared Sub ContainsAll( _
   ByVal targetCollection As ICollection, _
   ByVal sourceCollection As ICollection _
)
[C#]
public static bool ContainsAll(
   ICollection targetCollection,
   ICollection sourceCollection
);

Parameters

targetCollection
The collection to check.
sourceCollection
Collection whose elements would be checked for containment.

Return Value

true if the target collection contains all the elements of the specified collection.

See Also

CollectionUtils Class | Spring.Util Namespace