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

Class ServiceLocationHelperExtensions

Makes EPiServer.Web services part of the public API.

Inheritance
System.Object
ServiceLocationHelperExtensions
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.Web
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public static class ServiceLocationHelperExtensions

Methods

DisplayChannelService(ServiceLocationHelper)

Declaration
public static IDisplayChannelService DisplayChannelService(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
IDisplayChannelService

An instance of the currently registered DisplayChannelService(ServiceLocationHelper) service.

PermanentLinkMapper(ServiceLocationHelper)

Resolves the IPermanentLinkMapper service.

Declaration
public static IPermanentLinkMapper PermanentLinkMapper(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
IPermanentLinkMapper

An instance of the currently registered IPermanentLinkMapper service.

TemplateControlLoader(ServiceLocationHelper)

Declaration
public static ITemplateControlLoader TemplateControlLoader(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
ITemplateControlLoader

An instance of the currently registered TemplateControlLoader(ServiceLocationHelper) service.

TemplatePathResolver(ServiceLocationHelper)

Resolves the ITemplatePathResolver service.

Declaration
public static ITemplatePathResolver TemplatePathResolver(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
ITemplatePathResolver

An instance of the currently registered ITemplatePathResolver service.

TemplateResolver(ServiceLocationHelper)

Declaration
public static TemplateResolver TemplateResolver(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
TemplateResolver

An instance of the currently registered TemplateResolver(ServiceLocationHelper) service.