IDeletable

Description

interface Tinman.Core.System.IDeletable

Extended by

GraphLink sealed
GraphNode sealed
ISampleBufferBase
SimpleObjectPool sealed

Base interface for classes that have an explicit delete operation.

This interface is supposed to be used only where the IDisposable concept is not applicable.

Public / Methods

Delete


public method Delete → ()

Deletes this object immediately.

Deletion is considered to be a notification that the object is no longer used. The implementation is then free to perform cleanup or pooling actions.

Using an object after Delete has been called will yield undefined results. The code that calls Delete must make sure that there are no shared usages of the object that is being deleted.