November Happy Hour will be moved to Thursday December 5th.

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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
public class ServiceLocationHelper

Constructors

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

Extension Methods