A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class ServiceLocationHelperExtensions

Makes Localization services part of the public API.

Inheritance
System.Object
ServiceLocationHelperExtensions
Namespace: EPiServer.Framework.Localization
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public static class ServiceLocationHelperExtensions : Object

Methods

LocalizationService(ServiceProviderHelper)

Declaration
public static LocalizationService LocalizationService(this ServiceProviderHelper helper)
Parameters
Type Name Description
ServiceProviderHelper helper

The service helper.

Returns
Type Description
LocalizationService

The currently registered LocalizationService(ServiceProviderHelper).