Class ServiceLocationHelperExtensions
Makes EPiServer.Web services part of the public API.
Inheritance
Inherited Members
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public static class ServiceLocationHelperExtensions
Methods
DisplayChannelService(ServiceLocationHelper)
Resolves the DisplayChannelService(ServiceLocationHelper) service.
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)
Resolves the TemplateControlLoader(ServiceLocationHelper) service.
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)
Resolves the TemplateResolver(ServiceLocationHelper) service.
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. |