ContextDisposable class¶
Defined in
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Full name: System.Reactive.Disposables.ContextDisposable
Modifiers: public sealed
Summary¶
Represents a disposable resource whose disposal invocation will be posted to the specified SynchronizationContext.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class ContextDisposable
class ICancelable {
<>
}
ICancelable <|.. ContextDisposable
class IDisposable {
<>
}
IDisposable <|.. ContextDisposable
Implements: ICancelable, IDisposable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ContextDisposable](# class that uses the specified... |
Properties¶
| Name | Summary |
|---|---|
| Context | Gets the provided SynchronizationContext. |
| IsDisposed | Gets a value that indicates whether the object is disposed. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | Disposes the underlying disposable on the provided SynchronizationContext. |