Edit

CommandProvider.InitializeWithHost(IExtensionHost) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The InitializeWithHost method initializes the command provider with the specified host instance. This method is typically called when the command provider is being registered with the command palette, allowing it to access the host's services and capabilities.

Parameters

host IExtensionHost

The host instance that provides access to the command palette's functionality. This parameter is used to initialize the command provider with the host's capabilities and services.