C# Class Composable.DisposeAction

Inheritance: IDisposable
Afficher le fichier Open project: mlidbom/Composable.Monolithic

Méthodes publiques

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

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

Dispose() public méthode

Invokes the action passed to the constructor.
public Dispose ( ) : void
Résultat void

DisposeAction() public méthode

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