Share via


ICommandSetFactory Interface

Definition

Constructs services registered in an extension based on the descriptors in metadata.

public interface ICommandSetFactory : Microsoft.VisualStudio.Extensibility.IServiceFactory
type ICommandSetFactory = interface
    interface IServiceFactory
Public Interface ICommandSetFactory
Implements IServiceFactory
Derived
Implements

Properties

ServiceMoniker

Gets the ServiceMoniker for the ICommandSetProvider that this provides.

Methods

CreateAsync(ServiceMoniker, ServiceActivationOptions, IServiceProvider, AuthorizationServiceClient, Type, Type, CancellationToken)

Creates the service instance of T when requested.

(Inherited from IServiceFactory)
GetServiceDescriptor(ServiceMoniker)

Gets the description of a service.

(Inherited from IServiceFactory)
InitializeCommandsAsync(CommandSet)

Called when command set is about to be initialized. This can be used to add commands, set up initial state.

Applies to