C# Class Microsoft.VSTalk.VSTalkPackage

Inheritance: Microsoft.VisualStudio.Shell.Package
Mostra file Open project: Irdis/VSTalk Class Usage Examples

Private Properties

Property Type Description
InitApp void
InitializeDBManager IDatabaseManager
InitializeEnvironmentDataManager IEnvDataManager
InitializeEnvironmentWindowManager IEnvWindowsManager
InitializeEventFlow IEventFlow
InitializeHistoryService VSTalk.Engine.Core.History.HistoryService
InitializeIndicatorManager IIndicatorManager
InitializeModelContext IModelContext
InitializeSessionModelContext ISessionModel
InitializeWndManager object
RegisterCommands void
RegisterShellEventListener void
ShowToolWindow void

Public Methods

Method Description
VSTalkPackage ( ) : System

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.

Private Methods

Method Description
InitApp ( ) : void
InitializeDBManager ( ) : IDatabaseManager
InitializeEnvironmentDataManager ( ) : IEnvDataManager
InitializeEnvironmentWindowManager ( ) : IEnvWindowsManager
InitializeEventFlow ( ) : IEventFlow
InitializeHistoryService ( ) : HistoryService
InitializeIndicatorManager ( ) : IIndicatorManager
InitializeModelContext ( ) : IModelContext
InitializeSessionModelContext ( ) : ISessionModel
InitializeWndManager ( ) : object
RegisterCommands ( ) : void
RegisterShellEventListener ( ) : void
ShowToolWindow ( object sender, EventArgs e ) : void

This function is called when the user clicks the menu item that shows the tool window. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() protected method

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
return void

VSTalkPackage() public method

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public VSTalkPackage ( ) : System
return System