Ditto 5.0.0
Loading...
Searching...
No Matches
DittoSDK.Internal.Drop Class Referenceabstract

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...

Inheritance diagram for DittoSDK.Internal.Drop:
DittoSDK.DiskUsage.DittoDiskUsageObserver DittoSDK.Ditto DittoSDK.Store.DittoAttachment DittoSDK.Store.DittoAttachmentFetcher DittoSDK.Store.DittoDiffer DittoSDK.Store.DittoQueryResult DittoSDK.Store.DittoQueryResultItem DittoSDK.Store.DittoStoreObserver DittoSDK.Store.DittoTransaction DittoSDK.Sync.DittoSync DittoSDK.Sync.DittoSyncSubscription DittoSDK.Transport.DittoConnectionRequest DittoSDK.Transport.DittoPresence

Public Member Functions

void Dispose ()
 Suppresses finalization and initiates custom disposal logic.

Protected Member Functions

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.

Properties

bool IsDisposed [get]

Detailed Description

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.

Member Function Documentation

◆ 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
disposingtrue when invoked from an explicit Dispose() call. false when invoked from the finalizer.