Multipleassignmentdisposable

MultipleAssignmentDisposable Constructor

Initializes a new instance of the MultipleAssignmentDisposable class with no current underlying disposable.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New MultipleAssignmentDisposable()
public MultipleAssignmentDisposable()
public:
MultipleAssignmentDisposable()
new : unit -> MultipleAssignmentDisposable
public function MultipleAssignmentDisposable()

Remarks

By default, the MultipleAssignmentDisposable will dispose the current value of the Disposable property before assigning a new value.

See Also

Reference

MultipleAssignmentDisposable Class

System.Reactive.Disposables Namespace

MultipleAssignmentDisposable Methods

Include Protected Members
Include Inherited Members

The MultipleAssignmentDisposable type exposes the following members.

Methods

NameDescriptionPublic methodDisposeDisposes the underlying disposable as well as all future replacements.Public methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToString(Inherited from Object.)Top

See Also

Reference

MultipleAssignmentDisposable Class

System.Reactive.Disposables Namespace

MultipleAssignmentDisposable Properties

Include Protected Members
Include Inherited Members

The MultipleAssignmentDisposable type exposes the following members.

Properties

NameDescriptionPublic propertyDisposableGets or sets the underlying disposable.Public propertyIsDisposedTop

See Also

Reference

MultipleAssignmentDisposable Class

System.Reactive.Disposables Namespace

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

NameDescriptionPublic methodMultipleAssignmentDisposableInitializes a new instance of the MultipleAssignmentDisposable class with no current underlying disposable.Top

Properties

NameDescriptionPublic propertyDisposableGets or sets the underlying disposable.Public propertyIsDisposedTop

Methods

NameDescriptionPublic methodDisposeDisposes the underlying disposable as well as all future replacements.Public methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToString(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