SerialDisposable.Disposable Property

Gets or sets the underlying disposable.

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

public IDisposable Disposable { get; set; }

Property Value

Type: System.IDisposable
Returns the underlyingIDisposable.

If the SerialDisposable has already been disposed, assignment to this property causes immediate disposal of the given disposable object. Assigning this property disposes the previous disposable object.