TMultiMapBase<TKey,TValue>.TValueCollection.Contains(TValue,IEqualityComparer) Method

Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.

Namespace: Spring.Collections.MultiMaps
public
 function Contains(const value: TValue;
 const comparer: IEqualityComparer<TValue>): Boolean; override;

Parameters

value
Type: TValue

The value to locate in the sequence.

comparer
Type: IEqualityComparer<TValue>

An equality comparer to compare values.

Return Value

Type: Boolean

True if the source sequence contains an element that has the specified value; otherwise, False.

Overrides

TEnumerableBase<T>.Contains(T,IEqualityComparer)