Class ToolkitPackage
An Microsoft.VisualStudio.Shell.AsyncPackage that provides additional functionality.
Inheritance
System.Object
Microsoft.VisualStudio.Shell.Package
Microsoft.VisualStudio.Shell.AsyncPackage
ToolkitPackage
Implements
Microsoft.VisualStudio.Shell.Interop.IVsPackage
Microsoft.VisualStudio.OLE.Interop.IServiceProvider
Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts
System.ComponentModel.Design.IServiceContainer
System.IServiceProvider
Microsoft.VisualStudio.Shell.Interop.IVsUserSettings
Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsMigration
Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsQuery
Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory
Microsoft.VisualStudio.Shell.Interop.IVsToolboxItemProvider
Microsoft.VisualStudio.Shell.Interop.IVsToolboxItemProvider2
Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider
Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize
Microsoft.VisualStudio.Shell.IAsyncServiceProvider2
Microsoft.VisualStudio.Shell.IAsyncServiceProvider
Microsoft.VisualStudio.Shell.IAsyncServiceContainer
Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory
Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactoryProvider
Inherited Members
Microsoft.VisualStudio.Shell.AsyncPackage.InitializeAsync(System.Threading.CancellationToken, System.IProgress<Microsoft.VisualStudio.Shell.ServiceProgressData>)
Microsoft.VisualStudio.Shell.AsyncPackage.GetServiceAsync(System.Type)
Microsoft.VisualStudio.Shell.AsyncPackage.GetServiceAsync(System.Type, System.Boolean)
Microsoft.VisualStudio.Shell.AsyncPackage.AddService(System.Type, Microsoft.VisualStudio.Shell.AsyncServiceCreatorCallback)
Microsoft.VisualStudio.Shell.AsyncPackage.AddService(System.Type, Microsoft.VisualStudio.Shell.AsyncServiceCreatorCallback, System.Boolean)
Microsoft.VisualStudio.Shell.AsyncPackage.AddService(System.Type, Microsoft.VisualStudio.Shell.AsyncServiceCreatorWithProgressCallback, System.Boolean)
Microsoft.VisualStudio.Shell.AsyncPackage.AddService(System.Type, Microsoft.VisualStudio.Shell.AsyncServiceCreatorWithProgressCallback)
Microsoft.VisualStudio.Shell.AsyncPackage.RemoveService(System.Type)
Microsoft.VisualStudio.Shell.AsyncPackage.RemoveService(System.Type, System.Boolean)
Microsoft.VisualStudio.Shell.AsyncPackage.FindToolWindowAsync(System.Type, System.Int32, System.Boolean, System.Threading.CancellationToken)
Microsoft.VisualStudio.Shell.AsyncPackage.FindWindowPaneAsync(System.Type, System.Int32, System.Boolean, System.Threading.CancellationToken)
Microsoft.VisualStudio.Shell.AsyncPackage.ShowToolWindowAsync(System.Type, System.Int32, System.Boolean, System.Threading.CancellationToken)
Microsoft.VisualStudio.Shell.AsyncPackage.GetService(System.Type)
Microsoft.VisualStudio.Shell.AsyncPackage.Initialize()
Microsoft.VisualStudio.Shell.AsyncPackage.Dispose(System.Boolean)
Microsoft.VisualStudio.Shell.AsyncPackage.DisposalToken
Microsoft.VisualStudio.Shell.AsyncPackage.JoinableTaskFactory
Microsoft.VisualStudio.Shell.AsyncPackage.JoinableTaskCollection
Microsoft.VisualStudio.Shell.Package.AddOptionKey(System.String)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings(System.String, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsMigration.MigrateSettings(Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter, System.String)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ImportSettings(System.String, Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader, System.UInt32, System.Int32)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsQuery.NeedExport(System.String, System.Int32)
Microsoft.VisualStudio.Shell.Package.GetAutomationObject(System.String)
Microsoft.VisualStudio.Shell.Package.GetDialogPage(System.Type)
Microsoft.VisualStudio.Shell.Package.IsLocalService(System.Type)
Microsoft.VisualStudio.Shell.Package.QueryClose(System.Boolean)
Microsoft.VisualStudio.Shell.Package.GetProviderLocale()
Microsoft.VisualStudio.Shell.Package.CreateInstance(System.Guid, System.Guid, System.Type)
Microsoft.VisualStudio.Shell.Package.GetOutputPane(System.Guid, System.String)
Microsoft.VisualStudio.Shell.Package.OnLoadOptions(System.String, System.IO.Stream)
Microsoft.VisualStudio.Shell.Package.OnSaveOptions(System.String, System.IO.Stream)
Microsoft.VisualStudio.Shell.Package.ParseToolboxResource(System.IO.TextReader, System.Resources.ResourceManager)
Microsoft.VisualStudio.Shell.Package.ParseToolboxResource(System.IO.TextReader, System.Guid)
Microsoft.VisualStudio.Shell.Package.RegisterEditorFactory(Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory)
Microsoft.VisualStudio.Shell.Package.RegisterProjectFactory(Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory)
Microsoft.VisualStudio.Shell.Package.ShowOptionPage(System.Type)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid, System.UInt32, System.UInt32, System.IntPtr, System.IntPtr)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(System.Guid, System.UInt32, Microsoft.VisualStudio.OLE.Interop.OLECMD[], System.IntPtr)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IServiceProvider.QueryService(System.Guid, System.Guid, System.IntPtr)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(System.Type, System.Object)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(System.Type, System.Object, System.Boolean)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(System.Type, System.ComponentModel.Design.ServiceCreatorCallback)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(System.Type, System.ComponentModel.Design.ServiceCreatorCallback, System.Boolean)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.RemoveService(System.Type)
Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.RemoveService(System.Type, System.Boolean)
Microsoft.VisualStudio.Shell.Package.System.IServiceProvider.GetService(System.Type)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close()
Microsoft.VisualStudio.Shell.Package.CreateTool(System.Guid)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(System.Guid, System.UInt32)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Guid, System.Int32)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, System.Int32)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, System.Int32, System.Object)
Microsoft.VisualStudio.Shell.Package.InstantiateToolWindow(System.Type)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, System.Int32, System.UInt32)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, System.Int32, System.UInt32, System.Object, System.Guid)
Microsoft.VisualStudio.Shell.Package.FindToolWindow(System.Type, System.Int32, System.Boolean)
Microsoft.VisualStudio.Shell.Package.FindWindowPane(System.Type, System.Int32, System.Boolean)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.GetAutomationObject(System.String, System.Object)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.GetPropertyPage(System.Guid, Microsoft.VisualStudio.Shell.Interop.VSPROPSHEETPAGE[])
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.QueryClose(System.Int32)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults(System.UInt32)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(Microsoft.VisualStudio.OLE.Interop.IServiceProvider)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions(Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence, System.UInt32)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.ReadUserOptions(Microsoft.VisualStudio.OLE.Interop.IStream, System.String)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions(Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions(Microsoft.VisualStudio.OLE.Interop.IStream, System.String)
Microsoft.VisualStudio.Shell.Package.GetToolboxItemData(System.String, System.Windows.Forms.DataFormats.Format)
Microsoft.VisualStudio.Shell.Package.GetToolboxItemDataAsync(System.String, System.Windows.Forms.DataFormats.Format)
Microsoft.VisualStudio.Shell.Package.GetGlobalService(System.Type)
Microsoft.VisualStudio.Shell.Package.IsExperimentalInstance(System.IServiceProvider)
Microsoft.VisualStudio.Shell.Package.ApplicationRegistryRoot
Microsoft.VisualStudio.Shell.Package.UserDataPath
Microsoft.VisualStudio.Shell.Package.UserLocalDataPath
Microsoft.VisualStudio.Shell.Package.UserRegistryRoot
Microsoft.VisualStudio.Shell.Package.Zombied
Microsoft.VisualStudio.Shell.Package.ToolboxInitialized
Microsoft.VisualStudio.Shell.Package.ToolboxUpgraded
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Community.VisualStudio.Toolkit
Assembly: Community.VisualStudio.Toolkit.dll
Syntax
public abstract class ToolkitPackage : AsyncPackage, IVsPackage, IServiceProvider, IOleCommandTarget, IVsPersistSolutionOpts, IServiceContainer, IServiceProvider, IVsUserSettings, IVsUserSettingsMigration, IVsUserSettingsQuery, IVsToolWindowFactory, IVsToolboxItemProvider, IVsToolboxItemProvider2, IAsyncServiceProvider, IAsyncLoadablePackageInitialize, IAsyncServiceProvider2, IAsyncServiceProvider, IAsyncServiceContainer, IVsAsyncToolWindowFactory, IVsAsyncToolWindowFactoryProvider
Methods
| Improve this Doc View SourceGetAsyncToolWindowFactory(Guid)
Declaration
public override IVsAsyncToolWindowFactory GetAsyncToolWindowFactory(Guid toolWindowType)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | toolWindowType |
Returns
Type | Description |
---|---|
Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory |
Overrides
Microsoft.VisualStudio.Shell.AsyncPackage.GetAsyncToolWindowFactory(System.Guid)
|
Improve this Doc
View Source
GetToolWindowTitle(Type, Int32)
Declaration
protected override string GetToolWindowTitle(Type toolWindowType, int id)
Parameters
Type | Name | Description |
---|---|---|
System.Type | toolWindowType | |
System.Int32 | id |
Returns
Type | Description |
---|---|
System.String |
Overrides
Microsoft.VisualStudio.Shell.AsyncPackage.GetToolWindowTitle(System.Type, System.Int32)
|
Improve this Doc
View Source
InitializeToolWindowAsync(Type, Int32, CancellationToken)
Declaration
protected override Task<object> InitializeToolWindowAsync(Type toolWindowType, int id, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Type | toolWindowType | |
System.Int32 | id | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> |
Overrides
Microsoft.VisualStudio.Shell.AsyncPackage.InitializeToolWindowAsync(System.Type, System.Int32, System.Threading.CancellationToken)
|
Improve this Doc
View Source
InstantiateToolWindow(Type, Object)
Declaration
protected override WindowPane InstantiateToolWindow(Type toolWindowType, object context)
Parameters
Type | Name | Description |
---|---|---|
System.Type | toolWindowType | |
System.Object | context |
Returns
Type | Description |
---|---|
Microsoft.VisualStudio.Shell.WindowPane |
Overrides
Microsoft.VisualStudio.Shell.Package.InstantiateToolWindow(System.Type, System.Object)
Implements
Microsoft.VisualStudio.Shell.Interop.IVsPackage
Microsoft.VisualStudio.OLE.Interop.IServiceProvider
Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts
System.ComponentModel.Design.IServiceContainer
System.IServiceProvider
Microsoft.VisualStudio.Shell.Interop.IVsUserSettings
Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsMigration
Microsoft.VisualStudio.Shell.Interop.IVsUserSettingsQuery
Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory
Microsoft.VisualStudio.Shell.Interop.IVsToolboxItemProvider
Microsoft.VisualStudio.Shell.Interop.IVsToolboxItemProvider2
Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider
Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize
Microsoft.VisualStudio.Shell.IAsyncServiceProvider2
Microsoft.VisualStudio.Shell.IAsyncServiceProvider
Microsoft.VisualStudio.Shell.IAsyncServiceContainer
Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory
Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactoryProvider