Table of Contents

Class KenticoRequestLocalizationOptions

Namespace
Kentico.Web.Mvc
Assembly
Kentico.Web.Mvc.dll

Specifies options for the localization middleware.

public class KenticoRequestLocalizationOptions
Inheritance
object
KenticoRequestLocalizationOptions
Extension Methods

Constructors

KenticoRequestLocalizationOptions()

public KenticoRequestLocalizationOptions()

Properties

ApplyCurrentCultureToResponseHeaders

Gets or sets a value that determines if current UI culture is applied to the response Content-Language header.

public bool ApplyCurrentCultureToResponseHeaders { get; set; }

Property Value

bool

RequestCultureProviders

An ordered list of providers used to determine a request's culture information. The first provider that returns a non-null result for a given request will be used.

public List<IRequestCultureProvider> RequestCultureProviders { get; set; }

Property Value

List<IRequestCultureProvider>

See Also

UseKenticoRequestLocalization(IApplicationBuilder)