Abstract
Abstract base class for implementing the disposable pattern. Manages a collection of child disposables and ensures proper cleanup.
Protected
Collection of child disposables to clean up.
Gets whether this instance has been disposed.
True if disposed, false otherwise.
Registers a disposable to be cleaned up when this instance is disposed.
The disposable to register.
The registered disposable.
Disposes of this instance and all registered disposables.
Abstract base class for implementing the disposable pattern. Manages a collection of child disposables and ensures proper cleanup.