C# Class ThoughtWorks.VisualStudio.TwVscCommandsPackage

Inheritance: Package
显示文件 Open project: ThoughtWorksStudios/vs-connector

Public Methods

Method Description
TwVscCommandsPackage ( ) : System

Default constructor of the package. This is the constructor that will be used by VS to create an instance of your package. Inside the constructor you should do only the more basic initializazion like setting the initial value for some member variable. But you should never try to use any VS service because this object is not part of VS environment yet; you should wait and perform this kind of initialization inside the Initialize method.

Protected Methods

Method Description
Initialize ( ) : void

Initialization of the package; this is the place where you can put all the initialization code that relies on services provided by Visual Studio.

Private Methods

Method Description
DefineCommandHandler ( EventHandler handler, CommandID id ) : Microsoft.VisualStudio.Shell.OleMenuCommand

Define a command handler. When the user presses the button corresponding to the CommandID the EventHandler is called.

ShowMingleExplorer ( object caller, EventArgs args ) : void

Event handler called when the user selects the Explorer View command.

Method Details

Initialize() protected method

Initialization of the package; this is the place where you can put all the initialization code that relies on services provided by Visual Studio.
protected Initialize ( ) : void
return void

TwVscCommandsPackage() public method

Default constructor of the package. This is the constructor that will be used by VS to create an instance of your package. Inside the constructor you should do only the more basic initializazion like setting the initial value for some member variable. But you should never try to use any VS service because this object is not part of VS environment yet; you should wait and perform this kind of initialization inside the Initialize method.
public TwVscCommandsPackage ( ) : System
return System