Class ServiceLocationHelper
A class that helps resolving services part of the public API. Module namespaces registers extensions to this class to indicate that a service is part of the public API. Using one of these namespaces reveals the API. Instances of this class are available from key base classes and APIs.
Inheritance
System.Object
    ServiceLocationHelper
  Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class ServiceLocationHelper : ObjectConstructors
ServiceLocationHelper(IServiceLocator)
Creates a new instance of the ServiceLocationHelper.
Declaration
public ServiceLocationHelper(IServiceLocator locator)Parameters
| Type | Name | Description | 
|---|---|---|
| IServiceLocator | locator | The service locator to use for resolving services. | 
Properties
Advanced
The service locator used for resolving services.
Declaration
public IServiceLocator Advanced { get; }Property Value
| Type | Description | 
|---|---|
| IServiceLocator | 
