DefaultJsonServiceFactory Class
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. 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 (TBD) and uses JSON serialization.
public class DefaultJsonServiceFactory : Microsoft.VisualStudio.Extensibility.IServiceFactory
type DefaultJsonServiceFactory = class
interface IServiceFactory
Public Class DefaultJsonServiceFactory
Implements IServiceFactory
- Inheritance
-
DefaultJsonServiceFactory
- Implements
Constructors
DefaultJsonServiceFactory() |
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. |