Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoBackOfficeIdentityCultureProvider

    Sets the request culture to the culture of the back office user if one is determined to be in the request

    Inheritance
    System.Object
    Microsoft.AspNetCore.Localization.RequestCultureProvider
    Namespace: Umbraco.Cms.Web.Common.Localization
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoBackOfficeIdentityCultureProvider : RequestCultureProvider, IRequestCultureProvider

    Constructors

    View Source

    UmbracoBackOfficeIdentityCultureProvider(RequestLocalizationOptions)

    Initializes a new instance of the UmbracoBackOfficeIdentityCultureProvider class.

    Declaration
    public UmbracoBackOfficeIdentityCultureProvider(RequestLocalizationOptions localizationOptions)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Builder.RequestLocalizationOptions localizationOptions

    Methods

    View Source

    DetermineProviderCultureResult(HttpContext)

    Declaration
    public override Task<ProviderCultureResult> DetermineProviderCultureResult(HttpContext httpContext)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.HttpContext httpContext
    Returns
    Type Description
    System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX