PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Contains
Open sandboxFocus

AdvisableCollection<T>.Contains Method

Contains(T)

Determines whether the System.Collections.Generic.ICollection<> contains a specific value.

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item

The object to locate in the System.Collections.Generic.ICollection<>.

Returns
Type Description
System.Boolean

true if item is found in the System.Collections.Generic.ICollection<>; otherwise, false.