C# Class StompNet.Helpers.ActionDisposable

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

Public Methods

Method Description
ActionDisposable ( System.Action action ) : System

Constructor.

Dispose ( ) : void

Method Details

ActionDisposable() public method

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

Dispose() public method

public Dispose ( ) : void
return void