C# Class NetIde.Shell.NiPackage

Inheritance: ServiceObject, INiPackage, INiPreMessageFilter
Afficher le fichier Open project: netide/netide Class Usage Examples

Méthodes publiques

Méthode Description
CreateToolWindow ( System.Guid guid, INiWindowPane &toolWindow ) : HResult
CreateToolWindow ( Type toolType ) : NiWindowPane
FindToolWindow ( Type toolType, bool create ) : NiWindowPane
GetNiResources ( IResource &value ) : HResult
GetSite ( IServiceProvider &serviceProvider ) : HResult
GetStringResource ( string key, string &value ) : HResult
Initialize ( ) : HResult
PreFilterMessage ( NiMessage &message ) : HResult
QueryClose ( bool &canClose ) : HResult
Register ( INiRegistrationContext registrationContext ) : HResult
SetSite ( IServiceProvider serviceProvider ) : HResult
Unregister ( INiRegistrationContext registrationContext ) : HResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
NiPackage ( ) : System
OnPackageClosing ( CancelEventArgs e ) : void

Private Methods

Méthode Description
EnsureStringResources ( ) : void
GetService ( Type serviceType ) : object
RegisterEditorFactories ( ) : void
toolWindow_Closed ( object sender, EventArgs e ) : void

Method Details

CreateToolWindow() public méthode

public CreateToolWindow ( System.Guid guid, INiWindowPane &toolWindow ) : HResult
guid System.Guid
toolWindow INiWindowPane
Résultat HResult

CreateToolWindow() public méthode

public CreateToolWindow ( Type toolType ) : NiWindowPane
toolType System.Type
Résultat NiWindowPane

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FindToolWindow() public méthode

public FindToolWindow ( Type toolType, bool create ) : NiWindowPane
toolType System.Type
create bool
Résultat NiWindowPane

GetNiResources() public méthode

public GetNiResources ( IResource &value ) : HResult
value IResource
Résultat HResult

GetSite() public méthode

public GetSite ( IServiceProvider &serviceProvider ) : HResult
serviceProvider IServiceProvider
Résultat HResult

GetStringResource() public méthode

public GetStringResource ( string key, string &value ) : HResult
key string
value string
Résultat HResult

Initialize() public méthode

public Initialize ( ) : HResult
Résultat HResult

NiPackage() protected méthode

protected NiPackage ( ) : System
Résultat System

OnPackageClosing() protected méthode

protected OnPackageClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

PreFilterMessage() public méthode

public PreFilterMessage ( NiMessage &message ) : HResult
message NetIde.Shell.Interop.NiMessage
Résultat HResult

QueryClose() public méthode

public QueryClose ( bool &canClose ) : HResult
canClose bool
Résultat HResult

Register() public méthode

public Register ( INiRegistrationContext registrationContext ) : HResult
registrationContext INiRegistrationContext
Résultat HResult

SetSite() public méthode

public SetSite ( IServiceProvider serviceProvider ) : HResult
serviceProvider IServiceProvider
Résultat HResult

Unregister() public méthode

public Unregister ( INiRegistrationContext registrationContext ) : HResult
registrationContext INiRegistrationContext
Résultat HResult