Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Collection(T) Class / Advisable­Collection(T) Methods / Advisable­Collection(T).​Contains Method

AdvisableCollection<T>.Contains Method

Determines whether the ICollection<T> contains a specific value.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.43.0 (5.0.43.0)
Syntax
C#
public bool Contains(
	T item
)

Parameters

item
Type: T
The object to locate in the ICollection<T>.

Return Value

Type: Boolean
true if item is found in the ICollection<T>; otherwise, false.

Implements

ICollection<T>.Contains(T)
See Also