NanoByte.Common  2.10.5
NanoByte.Common.Disposable Class Reference

Invokes a callback on Dispose. More...

Inheritance diagram for NanoByte.Common.Disposable:

Public Member Functions

 Disposable (Action callback)
 Creates a new disposable. More...
void Dispose ()
 Invokes the callback. More...

Detailed Description

Invokes a callback on Dispose.

Constructor & Destructor Documentation

◆ Disposable()

NanoByte.Common.Disposable.Disposable ( Action  callback)

Creates a new disposable.

callbackThe callback to invoke on Dispose.

Member Function Documentation

◆ Dispose()

void NanoByte.Common.Disposable.Dispose ( )

Invokes the callback.

The documentation for this class was generated from the following file: