Class LocalizationServiceExtensions

Localization service extension

Inheritance
System.Object
LocalizationServiceExtensions
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.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public static class LocalizationServiceExtensions

Methods

GetTranslationIfNeeded(LocalizationService, String)

Gets the translation if needed.

Declaration
public static string GetTranslationIfNeeded(this LocalizationService localizationService, string resourceKey)
Parameters
Type Name Description
LocalizationService localizationService

The localization service.

System.String resourceKey

The resource key.

Returns
Type Description
System.String