C# Class Tickster.Utils.ActionDisposable

Inheritance: IDisposable
Datei anzeigen Open project: tickster/Tickster.Utilities

Public Methods

Method Description
ActionDisposable ( System.Action disposingAction ) : System

Initializes a new instance of the ActionDisposable class.

Dispose ( ) : void

Disposes the struct, calling the action provided on initialization.

Method Details

ActionDisposable() public method

Initializes a new instance of the ActionDisposable class.
public ActionDisposable ( System.Action disposingAction ) : System
disposingAction System.Action The disposing action.
return System

Dispose() public method

Disposes the struct, calling the action provided on initialization.
public Dispose ( ) : void
return void