C# 클래스 Tickster.Utils.ActionDisposable

상속: IDisposable
파일 보기 프로젝트 열기: tickster/Tickster.Utilities

공개 메소드들

메소드 설명
ActionDisposable ( System.Action disposingAction ) : System

Initializes a new instance of the ActionDisposable class.

Dispose ( ) : void

Disposes the struct, calling the action provided on initialization.

메소드 상세

ActionDisposable() 공개 메소드

Initializes a new instance of the ActionDisposable class.
public ActionDisposable ( System.Action disposingAction ) : System
disposingAction System.Action The disposing action.
리턴 System

Dispose() 공개 메소드

Disposes the struct, calling the action provided on initialization.
public Dispose ( ) : void
리턴 void