Class ServiceProviderHelper
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
ServiceProviderHelper
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class ServiceProviderHelper : Object
Constructors
ServiceProviderHelper(IServiceProvider)
Creates a new instance of the ServiceProviderHelper.
Declaration
public ServiceProviderHelper(IServiceProvider locator)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | locator | The service locator to use for resolving services. |
Properties
Advanced
The service provider used for resolving services.
Declaration
public IServiceProvider Advanced { get; }
Property Value
Type | Description |
---|---|
System.IServiceProvider |