MutableDisposable Class

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

Namespace: SharpKit.Rx

Base Types

System.Object

Base Interfaces

System.IDisposable

Constructors

Name Description
MutableDisposable() Constructs a new MutableDisposable with no current underlying disposable.

Methods

Name Description
Dispose() Disposes the underlying disposable as well as all future replacements.
Get() Gets a value indicating whether the MutableDisposable has an underlying disposable.
Replace(IDisposable) Swaps and disposes the current disposable with the new disposable.
© Copyright 2005-2011 SharpKit. All rights reserved.