London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class DefaultContentLanguageAccessor

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
DefaultContentLanguageAccessor
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class DefaultContentLanguageAccessor : IContentLanguageAccessor

Constructors

DefaultContentLanguageAccessor(ContextCache, ILanguageBranchRepository)

Declaration
public DefaultContentLanguageAccessor(ContextCache cache, ILanguageBranchRepository languageBranchRepo)
Parameters
Type Name Description
ContextCache cache
ILanguageBranchRepository languageBranchRepo

Fields

PreferredCultureContextKey

Declaration
public const string PreferredCultureContextKey = "EPiServer:ContentLanguage"
Field Value
Type Description
System.String

Properties

Language

Declaration
public CultureInfo Language { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

Implements

Extension Methods