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: 8.11.0
Syntax
public static class ServiceLocationHelperExtensions

Methods

DisplayChannelService(ServiceLocationHelper)

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

The service location helper.

Returns
Type Description
DisplayChannelService

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 TemplateControlLoader TemplateControlLoader(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type Name Description
ServiceLocationHelper serviceLocationHelper

The service location helper.

Returns
Type Description
TemplateControlLoader

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.