C# Class Composable.DisposeAction

Inheritance: IDisposable
Mostra file Open project: mlidbom/Composable.Monolithic

Public Methods

Method Description
Create ( System.Action action ) : IDisposable

Constructs an object that will call when disposed.

Dispose ( ) : void

Invokes the action passed to the constructor.

DisposeAction ( System.Action action ) : System

Constructs an instance that will call when disposed.

Method Details

Create() public static method

Constructs an object that will call when disposed.
public static Create ( System.Action action ) : IDisposable
action System.Action
return IDisposable

Dispose() public method

Invokes the action passed to the constructor.
public Dispose ( ) : void
return void

DisposeAction() public method

Constructs an instance that will call when disposed.
public DisposeAction ( System.Action action ) : System
action System.Action
return System