C# 클래스 Win32.ActionDisposable

An IDisposable implementation that executes an Action upon disposal.
상속: IDisposable
파일 보기 프로젝트 열기: raoyutian/Win32

공개 메소드들

메소드 설명
ActionDisposable ( Action disposeAction ) : System

Constructs a new disposable with the given action used for disposal.

Dispose ( ) : void

Calls the defined Action.

메소드 상세

ActionDisposable() 공개 메소드

Constructs a new disposable with the given action used for disposal.
public ActionDisposable ( Action disposeAction ) : System
disposeAction Action The action that is called upon disposal.
리턴 System

Dispose() 공개 메소드

Calls the defined Action.
public Dispose ( ) : void
리턴 void