SaaS CMS has officially launched! Learn more now.

Class DefaultContentLanguageAccessor

Inheritance
System.Object
DefaultContentLanguageAccessor
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class DefaultContentLanguageAccessor : Object, 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