Utility class to track disposable resources. All tracked resources are disposed in the order they are added to the scope when the dispose() method is called
Add a disposable resource to the disposal scope
The disposable resource
Disposable resource
Add any number of disposable resources to the disposal scope
Rest
Disposable resources
Throw an exception if the scope has been disposed
Class name to use in error
Utility class to track disposable resources. All tracked resources are disposed in the order they are added to the scope when the dispose() method is called