Skip to main content

Interface DisposeSafety.IDisposeCallback

Interface that marks a disposable that it can call back on dispose.

Assembly: Dalamud.dll
View Source
Declaration
public interface DisposeSafety.IDisposeCallback : IDisposable

Events

BeforeDispose

Event to be fired before object dispose. First parameter is the object iself.

View Source
Declaration
event Action<DisposeSafety.IDisposeCallback>? BeforeDispose
Event Type

System.Action<Dalamud.Utility.DisposeSafety.IDisposeCallback>

AfterDispose

Event to be fired after object dispose. First parameter is the object iself.

View Source
Declaration
event Action<DisposeSafety.IDisposeCallback, Exception?>? AfterDispose
Event Type

System.Action<Dalamud.Utility.DisposeSafety.IDisposeCallback,System.Exception>