interface Tinman.Core.System.IDeletable

Extended by

GraphLink sealed
GraphNode sealed

Base interface for classes that have an explicit delete operation.

Public / Methods


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.