C# Class EditorConfig.VisualStudio.Helpers.ActiveDocumentRestorer

A class that handles tracking a document and switching back to it, typically in a using statement context.
Inheritance: IDisposable
ファイルを表示 Open project: editorconfig/editorconfig-visualstudio

Private Properties

Property Type Description
ActiveDocumentRestorer System
RestoreTrackedDocument void
StartTracking void

Public Methods

Method Description
Dispose ( ) : void

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

Private Methods

Method Description
ActiveDocumentRestorer ( EditorConfigPackage package ) : System

Initializes a new instance of the ActiveDocumentRestorer class.

RestoreTrackedDocument ( ) : void

Restores the tracked document if not already active.

StartTracking ( ) : void

Starts tracking the active document.

Method Details

Dispose() public method

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