C# Class GoogleCloudExtension.Utils.Disposable

Simple class that runs the provided Action on dispose, useful when combined with using blocks.
Inheritance: IDisposable
ファイルを表示 Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Methods

Method Description
Disposable ( System.Action action = null ) : System

Private Methods

Method Description
IDisposable ( ) : void

Method Details

Disposable() public method

public Disposable ( System.Action action = null ) : System
action System.Action
return System