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