Class Disposable
Invokes a callback on Dispose().
[MustDisposeResource]
public sealed class Disposable
- Inheritance
-
objectDisposable
- Extension Methods
Constructors
Disposable(Action)
Invokes a callback on Dispose().
public Disposable(Action callback)
Parameters
callback
ActionThe callback to invoke on Dispose().
Methods
Dispose()
Invokes the callback.
public void Dispose()