C# Класс EditorConfig.VisualStudio.Integration.Commands.CleanupActiveCodeCommand

A command that provides for cleaning up code in the active document.
Наследование: BaseCommand
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CleanupActiveCodeCommand System.ComponentModel.Design
GetCurrentTextBuffer ITextBuffer
OnBeforeDocumentSave void

Защищенные методы

Метод Описание
OnBeforeQueryStatus ( ) : void

Called to update the current status of the command.

OnExecute ( ) : void

Called to execute the command.

Приватные методы

Метод Описание
CleanupActiveCodeCommand ( EditorConfigPackage package ) : System.ComponentModel.Design

Initializes a new instance of the CleanupActiveCodeCommand class.

GetCurrentTextBuffer ( ) : ITextBuffer
OnBeforeDocumentSave ( Document document, ITextBuffer textBuffer ) : void

Called before a document is saved in order to potentially run code cleanup.

Описание методов

OnBeforeQueryStatus() защищенный Метод

Called to update the current status of the command.
protected OnBeforeQueryStatus ( ) : void
Результат void

OnExecute() защищенный Метод

Called to execute the command.
protected OnExecute ( ) : void
Результат void