Skip to content

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

NameSummary
.ctorInitializes a new instance of the [MultipleAssignmentDisposable](# class with no current underlying disposable.

Properties

NameSummary
IsDisposedGets a value that indicates whether the object is disposed.
DisposableGets or sets the underlying disposable. After disposal, the result of getting this property is undefined.

Methods

NameSummary
DisposeDisposes the underlying disposable as well as all future replacements.
Inherited members