SerialDisposableValue
Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource.
Gets or sets the underlying disposable.
Gets a value that indicates whether the object is disposed.
Disposes the underlying disposable as well as all future replacements.