CompositeDisposable.Contains(IDisposable) method¶
Defined in
Type: CompositeDisposable
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public bool Contains(IDisposable item)
Summary: Determines whether the CompositeDisposable contains a specific disposable.
Parameters
| Name | Type | Description |
|---|---|---|
item | IDisposable | Disposable to search for. |
Returns: bool -- true if the disposable was found; otherwise, false.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | item is null. |