Compartir a través de


DefaultMessagePackServiceFactory Class

Definition

Constructs services registered in an extension based on the descriptors in metadata. This default factory uses either the service moniker name as the type name, or type information from ServiceFactoryRegistrationAttribute attribute and creates an instance using dependency injection and uses MessagePack serialization.

public class DefaultMessagePackServiceFactory : Microsoft.VisualStudio.Extensibility.IServiceFactory
type DefaultMessagePackServiceFactory = class
    interface IServiceFactory
Public Class DefaultMessagePackServiceFactory
Implements IServiceFactory
Inheritance
DefaultMessagePackServiceFactory
Derived
Implements

Constructors

DefaultMessagePackServiceFactory()

Methods

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

Creates the service instance of T when requested.

GetServiceDescriptor(ServiceMoniker)

Gets the description of a service.

Applies to