C# Class AK.F1.Timing.Utility.DisposableCallback

Inheritance: IDisposable
Datei anzeigen Open project: simoneb/ak-f1-timing Class Usage Examples

Public Methods

Method Description
DisposableCallback ( System.Action callback ) : System

Initialises a new instance of the DisposableCallback class and specifies the callback to invoke when this instance is disposed.

Dispose ( ) : void

Disposes of this instance.

Method Details

DisposableCallback() public method

Initialises a new instance of the DisposableCallback class and specifies the callback to invoke when this instance is disposed.
/// Thrown when is . ///
public DisposableCallback ( System.Action callback ) : System
callback System.Action The callback method to invoke when /// this instance of disposed of.
return System

Dispose() public method

Disposes of this instance.
public Dispose ( ) : void
return void