C# Class StompNet.Helpers.ActionDisposable

Disposable class that calls a custom action when it is disposed.
Inheritance: IDisposable
Afficher le fichier Open project: krlito/StompNet

Méthodes publiques

Méthode Description
ActionDisposable ( System.Action action ) : System

Constructor.

Dispose ( ) : void

Method Details

ActionDisposable() public méthode

Constructor.
public ActionDisposable ( System.Action action ) : System
action System.Action Action to be invoked when this instance is disposed.
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void