C# Class BeiDream.Utils.DisposeAction

This class can be used to provide an action when Dipose method is called.
Inheritance: IDisposable
Show file Open project: BeiMeng/BeiDream

Public Methods

Method Description
Dispose ( ) : void
DisposeAction ( System.Action action ) : System

Creates a new DisposeAction object.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DisposeAction() public method

Creates a new DisposeAction object.
public DisposeAction ( System.Action action ) : System
action System.Action Action to be executed when this object is disposed.
return System