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
Afficher le fichier Open project: editorconfig/editorconfig-visualstudio

Private Properties

Свойство Type Description
ActiveDocumentRestorer System
RestoreTrackedDocument void
StartTracking void

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

Private Methods

Méthode 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 méthode

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