Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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