Class DefaultContentLanguageAccessor
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
DefaultContentLanguageAccessor
Implements
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: 10.10.4Syntax
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 |