This constructs a new object which implements Disposable, and nothing
else. The new object's dispose method will dispose of the original
Disposifiable, and ensure that this happens only once, regardless of
how many times the dispose method is called.
Construct a new Disposable out of any Disposifiable.
This constructs a new object which implements Disposable, and nothing else. The new object's dispose method will dispose of the original Disposifiable, and ensure that this happens only once, regardless of how many times the dispose method is called.