C# Class NSoft.NFramework.DisposableAction

Inheritance: IDisposable
显示文件 Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
DisposableAction ( System.Action action ) : System

생성자

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Method Details

DisposableAction() public method

생성자
public DisposableAction ( System.Action action ) : System
action System.Action dispose 시에 수행할 action
return System

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool need to dispose managed resources.
return void