Abstract class hooking the finalizer into the Dispose functionality. Disposal will be triggered regardless of whether the caller explicitly invokes Dispose() or they forget and the type is being cleaned up by the finalizer.
More...
|
|
void | Dispose () |
| | Suppresses finalization and initiates custom disposal logic.
|
|
| void | Dispose (bool disposing) |
| | Overload for types to dispose of resources, regardless of whether the type is being disposed or finalized. Note that finalization occurs on a dedicated thread.
|
Abstract class hooking the finalizer into the Dispose functionality. Disposal will be triggered regardless of whether the caller explicitly invokes Dispose() or they forget and the type is being cleaned up by the finalizer.
Subclasses should place their custom disposal logic in the Dispose(bool) overload.
◆ Dispose()
| void DittoSDK.Internal.Drop.Dispose |
( |
bool | disposing | ) |
|
|
abstractprotected |
Overload for types to dispose of resources, regardless of whether the type is being disposed or finalized. Note that finalization occurs on a dedicated thread.
- Parameters
-
| disposing | true when invoked from an explicit Dispose() call. false when invoked from the finalizer. |