BooleanDisposable class¶
Defined in
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Full name: System.Reactive.Disposables.BooleanDisposable
Modifiers: public sealed
Summary¶
Represents a disposable resource that can be checked for disposal status.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class BooleanDisposable
class ICancelable {
<>
}
ICancelable <|.. BooleanDisposable
class IDisposable {
<>
}
IDisposable <|.. BooleanDisposable
Implements: ICancelable, IDisposable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [BooleanDisposable](# class. |
Properties¶
| Name | Summary |
|---|---|
| IsDisposed | Gets a value that indicates whether the object is disposed. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | Sets the status to disposed, which can be observer through the [IsDisposed](# property. |