C# 클래스 Scorchio.VisualStudio.CommandManager

상속: IDispatch, IDTExtensibility2, IDTCommandTarget
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross

공개 메소드들

메소드 설명
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