C# 클래스 Microsoft.Common.Core.Disposables.Disposable

Provides a set of static methods for creating Disposables.
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
Create ( System.Action dispose ) : IDisposable

Creates a disposable object that invokes the specified action when disposed.

메소드 상세

Create() 공개 정적인 메소드

Creates a disposable object that invokes the specified action when disposed.
is null.
public static Create ( System.Action dispose ) : IDisposable
dispose System.Action Action to run during the first call to . The action is guaranteed to be run at most once.
리턴 IDisposable