C# Класс Scorchio.VisualStudio.CommandManager

Наследование: IDispatch, IDTExtensibility2, IDTCommandTarget
Показать файл Открыть проект

Открытые методы

Метод Описание
Exec ( string commandName, vsCommandExecOption executeOption, object &variantIn, object &variantOut, bool &handled ) : void

Execs the specified command name.

OnAddInsUpdate ( Array &custom ) : void

Called when [add ins update].

OnBeginShutdown ( Array &custom ) : void

Called when [begin shutdown].

OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, Array &custom ) : void

Called when [connection].

OnDisconnection ( ext_DisconnectMode removeMode, Array &custom ) : void

Called when [disconnection].

OnStartupComplete ( Array &custom ) : void

Called when [startup complete].

QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void

Queries the status.

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

Метод Описание
AddCommandBar ( string commandName ) : CommandBar

Adds the command bar.

AddMenuItem ( VSCommandInfo commandInfo ) : void

Add item to the menu.

AfterStartUp ( ) : void

After the start up.

CommandManager ( ) : System

Initializes a new instance of the CommandManager class.

DeleteCommand ( string commandName ) : void

Deletes the command.

Initialize ( ) : void

Initializes this instance.

ListAllCommands ( ) : void

Lists all commands.

RemoveMenuItem ( string menuItemName ) : void

Removes the menu item.

StartUp ( ) : void

Starts up.

UISetup ( ) : void

UIs the setup.

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

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

Adds the command bar.
protected AddCommandBar ( string commandName ) : CommandBar
commandName string Name of the command.
Результат CommandBar

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

Add item to the menu.
protected AddMenuItem ( VSCommandInfo commandInfo ) : void
commandInfo VSCommandInfo The command info.
Результат void

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

After the start up.
protected AfterStartUp ( ) : void
Результат void

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

Initializes a new instance of the CommandManager class.
protected CommandManager ( ) : System
Результат System

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

Deletes the command.
protected DeleteCommand ( string commandName ) : void
commandName string Name of the command.
Результат void

Exec() публичный Метод

Execs the specified command name.
public Exec ( string commandName, vsCommandExecOption executeOption, object &variantIn, object &variantOut, bool &handled ) : void
commandName string ProjectName of the command.
executeOption vsCommandExecOption The execute option.
variantIn object The variant in.
variantOut object The variant out.
handled bool if set to true [handled].
Результат void

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

Initializes this instance.
protected Initialize ( ) : void
Результат void

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

Lists all commands.
protected ListAllCommands ( ) : void
Результат void

OnAddInsUpdate() публичный Метод

Called when [add ins update].
public OnAddInsUpdate ( Array &custom ) : void
custom System.Array The custom.
Результат void

OnBeginShutdown() публичный Метод

Called when [begin shutdown].
public OnBeginShutdown ( Array &custom ) : void
custom System.Array The custom.
Результат void

OnConnection() публичный Метод

Called when [connection].
public OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, Array &custom ) : void
application object The application.
connectMode ext_ConnectMode The connect mode.
addInInst object The add in instance.
custom System.Array The custom.
Результат void

OnDisconnection() публичный Метод

Called when [disconnection].
public OnDisconnection ( ext_DisconnectMode removeMode, Array &custom ) : void
removeMode ext_DisconnectMode The remove mode.
custom System.Array The custom.
Результат void

OnStartupComplete() публичный Метод

Called when [startup complete].
public OnStartupComplete ( Array &custom ) : void
custom System.Array The custom.
Результат void

QueryStatus() публичный Метод

Queries the status.
public QueryStatus ( string commandName, vsCommandStatusTextWanted neededText, vsCommandStatus &status, object &commandText ) : void
commandName string ProjectName of the command.
neededText vsCommandStatusTextWanted The needed text.
status vsCommandStatus The status option.
commandText object The command text.
Результат void

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

Removes the menu item.
protected RemoveMenuItem ( string menuItemName ) : void
menuItemName string Name of the menu item.
Результат void

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

Starts up.
protected StartUp ( ) : void
Результат void

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

UIs the setup.
protected UISetup ( ) : void
Результат void