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

The base implementation of a command.
Наследование: Microsoft.VisualStudio.Shell.OleMenuCommand
Показать файл Открыть проект

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

Метод Описание
BaseCommand ( EditorConfigPackage package, CommandID id ) : System

Initializes a new instance of the BaseCommand class.

OnBeforeQueryStatus ( ) : void

Called to update the current status of the command.

OnExecute ( ) : void

Called to execute the command.

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

Метод Описание
BaseCommand_BeforeQueryStatus ( object sender, EventArgs e ) : void

Handles the BeforeQueryStatus event of the BaseCommand control.

BaseCommand_Execute ( object sender, EventArgs e ) : void

Handles the Execute event of the BaseCommand control.

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

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

Initializes a new instance of the BaseCommand class.
protected BaseCommand ( EditorConfigPackage package, CommandID id ) : System
package EditorConfigPackage The hosting package.
id System.ComponentModel.Design.CommandID The id for the command.
Результат System

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

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

OnExecute() защищенный абстрактный Метод

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