C# Class EditorConfig.VisualStudio.EditorConfigPackage

Inheritance: Package
ファイルを表示 Open project: editorconfig/editorconfig-visualstudio

Private Properties

Property Type Description
OnDispatcherUnhandledException void
RegisterCommands void
RegisterNonShellEventListeners void
RegisterShellEventListener void

Public Methods

Method Description
EditorConfigPackage ( ) : 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.

GetResourceString ( string resourceName ) : string
IdBmpSplash ( uint &pIdBmp ) : int
IdIcoLogoForAboutbox ( uint &pIdIco ) : int
OfficialName ( string &pbstrName ) : int
ProductDetails ( string &pbstrProductDetails ) : int
ProductID ( string &pbstrPID ) : int

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

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 initialization code that rely on services provided by VisualStudio.

Private Methods

Method Description
OnDispatcherUnhandledException ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Called when a DispatcherUnhandledException is raised by Visual Studio.

RegisterCommands ( ) : void

Register the package commands (which must exist in the .vsct file).

RegisterNonShellEventListeners ( ) : void

Register the package event listeners.

This must occur after the DTE service is available since many of the events are based off of the DTE object.

RegisterShellEventListener ( ) : void

Registers the shell event listener.

This event listener is registered by itself and first to wait for the shell to be ready for other event listeners to be registered.

Method Details

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

EditorConfigPackage() 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 EditorConfigPackage ( ) : System
return System

GetResourceString() public method

public GetResourceString ( string resourceName ) : string
resourceName string
return string

IdBmpSplash() public method

public IdBmpSplash ( uint &pIdBmp ) : int
pIdBmp uint
return int

IdIcoLogoForAboutbox() public method

public IdIcoLogoForAboutbox ( uint &pIdIco ) : int
pIdIco uint
return int

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 initialization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
return void

OfficialName() public method

public OfficialName ( string &pbstrName ) : int
pbstrName string
return int

ProductDetails() public method

public ProductDetails ( string &pbstrProductDetails ) : int
pbstrProductDetails string
return int

ProductID() public method

public ProductID ( string &pbstrPID ) : int
pbstrPID string
return int