Class BooleanDisposable
Represents a disposable resource that can be checked for disposal status.
Inherited Members
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.Core.dll
Syntax
public sealed class BooleanDisposable : ICancelable, IDisposable
Constructors
| Improve this Doc View SourceBooleanDisposable()
Initializes a new instance of the BooleanDisposable class.
Declaration
public BooleanDisposable()
Properties
| Improve this Doc View SourceIsDisposed
Gets a value that indicates whether the object is disposed.
Declaration
public bool IsDisposed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceDispose()
Sets the status to disposed, which can be observer through the IsDisposed property.
Declaration
public void Dispose()