MultipleAssignmentDisposable class¶
Defined in
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Full name: System.Reactive.Disposables.MultipleAssignmentDisposable
Modifiers: public sealed
Summary¶
Represents a disposable resource whose underlying disposable resource can be swapped for another disposable resource.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class MultipleAssignmentDisposable
class ICancelable {
<>
}
ICancelable <|.. MultipleAssignmentDisposable
class IDisposable {
<>
}
IDisposable <|.. MultipleAssignmentDisposable
Implements: ICancelable, IDisposable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [MultipleAssignmentDisposable](# class with no current underlying disposable. |
Properties¶
| Name | Summary |
|---|---|
| IsDisposed | Gets a value that indicates whether the object is disposed. |
| Disposable | Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | Disposes the underlying disposable as well as all future replacements. |