IExtensionInitializer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A component that is queried and invoked at extension initialization time.
public interface IExtensionInitializer
type IExtensionInitializer = interface
Public Interface IExtensionInitializer
Remarks
These are registered to service provider collection during InitializeServices(IServiceCollection) and will be consumed by extension framework.
Methods
InitializeAsync(ExtensionCore, IServiceProvider, VisualStudioExtensibility, CancellationToken) |
Do a one-time initialization when extension is activated for the first time in a session. |