Class ServiceLocationHelperExtensions
Makes EPiServer.Core 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.Core
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public static class ServiceLocationHelperExtensions
Methods
ContentEvents(ServiceLocationHelper)
Resolves the IContentEvents service.
Declaration
public static IContentEvents ContentEvents(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type | Name | Description |
---|---|---|
ServiceLocationHelper | serviceLocationHelper | The service location helper. |
Returns
Type | Description |
---|---|
IContentEvents | An instance of the currently registered IContentEvents service. |
ContentSearchHandler(ServiceLocationHelper)
Resolves the ContentSearchHandler(ServiceLocationHelper) service.
Declaration
public static ContentSearchHandler ContentSearchHandler(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type | Name | Description |
---|---|---|
ServiceLocationHelper | serviceLocationHelper | The service location helper. |
Returns
Type | Description |
---|---|
ContentSearchHandler | An instance of the currently registered ContentSearchHandler(ServiceLocationHelper) service. |
PageCriteriaQueryService(ServiceLocationHelper)
Resolves the IPageCriteriaQueryService service.
Declaration
public static IPageCriteriaQueryService PageCriteriaQueryService(this ServiceLocationHelper serviceLocationHelper)
Parameters
Type | Name | Description |
---|---|---|
ServiceLocationHelper | serviceLocationHelper | The service location helper. |
Returns
Type | Description |
---|---|
IPageCriteriaQueryService | An instance of the currently registered IPageCriteriaQueryService service. |