C# Class EditorConfig.VisualStudio.EditorConfigPackage

Inheritance: Package
Afficher le fichier Open project: editorconfig/editorconfig-visualstudio

Private Properties

Свойство Type Description
OnDispatcherUnhandledException void
RegisterCommands void
RegisterNonShellEventListeners void
RegisterShellEventListener void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat void

EditorConfigPackage() public méthode

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
Résultat System

GetResourceString() public méthode

public GetResourceString ( string resourceName ) : string
resourceName string
Résultat string

IdBmpSplash() public méthode

public IdBmpSplash ( uint &pIdBmp ) : int
pIdBmp uint
Résultat int

IdIcoLogoForAboutbox() public méthode

public IdIcoLogoForAboutbox ( uint &pIdIco ) : int
pIdIco uint
Résultat int

Initialize() protected méthode

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
Résultat void

OfficialName() public méthode

public OfficialName ( string &pbstrName ) : int
pbstrName string
Résultat int

ProductDetails() public méthode

public ProductDetails ( string &pbstrProductDetails ) : int
pbstrProductDetails string
Résultat int

ProductID() public méthode

public ProductID ( string &pbstrPID ) : int
pbstrPID string
Résultat int