Skip to content

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

NameSummary
.ctorInitializes a new instance of the [BooleanDisposable](# class.

Properties

NameSummary
IsDisposedGets a value that indicates whether the object is disposed.

Methods

NameSummary
DisposeSets the status to disposed, which can be observer through the [IsDisposed](# property.
Inherited members