Skip to content

ReactiveList.Contains(T) method

Defined in

Type: ReactiveList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public bool Contains(T item)

  2. public bool Contains(object? value)

1. Overload

public bool Contains(T item)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ICollection<T>. The member doesn't override them on this type.

Summary: Determines whether the ICollection (opens in a new tab) contains a specific value.

Parameters

NameTypeDescription
itemTThe object to locate in the ICollection (opens in a new tab).

Returns: bool (opens in a new tab) -- true if item is found in the ICollection (opens in a new tab); otherwise, false.

2. Overload

public bool Contains(object? value)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IList. The member doesn't override them on this type.

Summary: Determines whether the IList (opens in a new tab) contains a specific value.

Parameters

NameTypeDescription
valueobject? (opens in a new tab)The object to locate in the IList (opens in a new tab).

Returns: bool (opens in a new tab) -- true if the Object (opens in a new tab) is found in the IList (opens in a new tab); otherwise, false.