ICommandSetFactory 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.
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. |