Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class ResourceKeyHandlerExtensions

Performs different operations on resource keys for LocalizationService.

Inheritance
System.Object
ResourceKeyHandlerExtensions
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.Framework.Localization
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public static class ResourceKeyHandlerExtensions

Methods

ResolveContextBasedKey(ResourceKeyHandler, String)

Resolves a resource key based on the current request path.

Declaration
[Obsolete("No longer used, context based keys are resolved through IContextBasedKeyResolver instances")]
public static string ResolveContextBasedKey(this ResourceKeyHandler resourceKeyHandler, string resourceKey)
Parameters
Type Name Description
ResourceKeyHandler resourceKeyHandler

The extended resource key handler

System.String resourceKey

The resource key to resolve.

Returns
Type Description
System.String

A key that has the current request path added to the beginning of the key.