C# Class Tickster.Utils.ActionDisposable

Inheritance: IDisposable
Afficher le fichier Open project: tickster/Tickster.Utilities

Méthodes publiques

Méthode 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 méthode

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

Dispose() public méthode

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