Share via


IServiceFactory Interface

Definition

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

public interface IServiceFactory
type IServiceFactory = interface
Public Interface IServiceFactory
Derived

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