Class CombinedDisposable
- Namespace
- WhalesSecret.TradeScriptLib.Utils.Sync
- Assembly
- WhalesSecret.TradeScriptLib.dll
Disposable interface that allows releasing multiple objects at once.
public class CombinedDisposable : IDisposable
- Inheritance
-
CombinedDisposable
- Implements
- Inherited Members
- Extension Methods
Constructors
- CombinedDisposable(params IDisposable[])
Creates a new releaser bound to an underlying releasable object.
Methods
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- Dispose(bool)
Frees resources used by the object. Both kinds of resources managed and unmanaged are freed based on whether the method is called from Dispose() or not.