Search Results for

    Show / Hide Table of Contents
    View Source

    Class DefaultCultureAccessor

    Provides the default implementation of IDefaultCultureAccessor.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PublishedCache
    Assembly: Umbraco.Core.dll
    Syntax
    public class DefaultCultureAccessor : IDefaultCultureAccessor

    Constructors

    View Source

    DefaultCultureAccessor(ILocalizationService, IRuntimeState, IOptionsMonitor<GlobalSettings>)

    Initializes a new instance of the DefaultCultureAccessor class.

    Declaration
    public DefaultCultureAccessor(ILocalizationService localizationService, IRuntimeState runtimeState, IOptionsMonitor<GlobalSettings> options)
    Parameters
    Type Name Description
    ILocalizationService localizationService
    IRuntimeState runtimeState
    IOptionsMonitor<GlobalSettings> options

    Properties

    View Source

    DefaultCulture

    Gets the system default culture.

    Declaration
    public string DefaultCulture { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Implementations must NOT return a null value. Return an empty string for the invariant culture.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DefaultCultureAccessor(ILocalizationService, IRuntimeState, IOptionsMonitor<GlobalSettings>)
    • Properties
      • DefaultCulture
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX