MultipleAssignmentDisposable Class

Represents a disposable whose underlying disposable can be swapped for another disposable.

Inheritance Hierarchy

System.Object
  System.Reactive.Disposables.MultipleAssignmentDisposable

Namespace:  System.Reactive.Disposables
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public NotInheritable Class MultipleAssignmentDisposable _
    Implements IDisposable
'Usage
Dim instance As MultipleAssignmentDisposable
public sealed class MultipleAssignmentDisposable : IDisposable
public ref class MultipleAssignmentDisposable sealed : IDisposable
[<SealedAttribute>]
type MultipleAssignmentDisposable =  
    class
        interface IDisposable
    end
public final class MultipleAssignmentDisposable implements IDisposable

The MultipleAssignmentDisposable type exposes the following members.

Constructors

  Name Description
Public method MultipleAssignmentDisposable Initializes a new instance of the MultipleAssignmentDisposable class with no current underlying disposable.

Top

Properties

  Name Description
Public property Disposable Gets or sets the underlying disposable.
Public property IsDisposed

Top

Methods

  Name Description
Public method Dispose Disposes the underlying disposable as well as all future replacements.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reactive.Disposables Namespace