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: 11.20.7Syntax
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. |
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. |