Try our conversational search powered by Generative AI!

Interface IServiceLocatorFactory

Signature that type specified by ServiceLocatorFactoryAttribute should implement

Namespace: EPiServer.ServiceLocation.AutoDiscovery
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public interface IServiceLocatorFactory

Methods

CreateLocator()

Creates an instance of IServiceLocator

Declaration
IServiceLocator CreateLocator()
Returns
Type Description
IServiceLocator
Remarks

The returned IServiceLocator must contain a singleton registration of itself (as IServiceLocator)

CreateProvider()

Creates an instance of IServiceConfigurationProvider

Declaration
IServiceConfigurationProvider CreateProvider()
Returns
Type Description
IServiceConfigurationProvider

Extension Methods