Click or drag to resize

CondensedCollectionExtensionsContainsTSource Method

[This is preliminary documentation and is subject to change.]

Determines whether a sequence contains a specified value by using a specified comparer.

Namespace:  Condensed.Linq
Assembly:  Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
public static bool Contains<TSource>(
	this CondensedCollection<TSource> source,
	TSource value,
	IEqualityComparer<TSource> comparer
)

Parameters

source
Type: CondensedCondensedCollectionTSource
A CondensedCollection in which to locate a value.
value
Type: TSource
The value to locate in the CondensedCollection.
comparer
Type: System.Collections.GenericIEqualityComparerTSource
An equality comparer to compare values.

Type Parameters

TSource
The type of the elements of source.

Return Value

Type: Boolean
true if the collection contains an element that has the specified value; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CondensedCollectionTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also