System.Reactive.Disposables namespace¶
Part of the System.Reactive package.
| Type | Kind | Summary |
|---|---|---|
| BooleanDisposable | class | Represents a disposable resource that can be checked for disposal status. |
| CancellationDisposable | class | Represents a disposable resource that has an associated CancellationToken that will be set to the cancellation requested state upon disposal. |
| CompositeDisposable | class | Represents a group of disposable resources that are disposed together. |
| ContextDisposable | class | Represents a disposable resource whose disposal invocation will be posted to the specified SynchronizationContext. |
| Disposable | class | Provides a set of static methods for creating IDisposable objects. |
| ICancelable | interface | Disposable resource with disposal state tracking. |
| MultipleAssignmentDisposable | class | Represents a disposable resource whose underlying disposable resource can be swapped for another disposable resource. |
| RefCountDisposable | class | Represents a disposable resource that only disposes its underlying disposable resource when all [GetDisposable](# have been disposed. |
| ScheduledDisposable | class | Represents a disposable resource whose disposal invocation will be scheduled on the specified [IScheduler](# |
| SerialDisposable | class | Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource. |
| SingleAssignmentDisposable | class | Represents a disposable resource which only allows a single assignment of its underlying disposable resource. If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an InvalidOperationException. |
| SingleAssignmentDisposableValue | struct | Represents a disposable resource which only allows a single assignment of its underlying disposable resource. If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an InvalidOperationException. |
| StableCompositeDisposable | class | Represents a group of disposable resources that are disposed together. |