Class ServiceLocationHelperExtensions
Makes EPiServer.Core services part of the public API.
Inheritance
System.Object
ServiceLocationHelperExtensions
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class ServiceLocationHelperExtensions : Object
Methods
ContentEvents(ServiceProviderHelper)
Resolves the IContentEvents service.
Declaration
public static IContentEvents ContentEvents(this ServiceProviderHelper serviceLocationHelper)
Parameters
Type | Name | Description |
---|---|---|
ServiceProviderHelper | serviceLocationHelper | The service location helper. |
Returns
Type | Description |
---|---|
IContentEvents | An instance of the currently registered IContentEvents service. |
PageCriteriaQueryService(ServiceProviderHelper)
Resolves the IPageCriteriaQueryService service.
Declaration
public static IPageCriteriaQueryService PageCriteriaQueryService(this ServiceProviderHelper serviceLocationHelper)
Parameters
Type | Name | Description |
---|---|---|
ServiceProviderHelper | serviceLocationHelper | The service location helper. |
Returns
Type | Description |
---|---|
IPageCriteriaQueryService | An instance of the currently registered IPageCriteriaQueryService service. |