Class KenticoRequestLocalizationOptions
Specifies options for the localization middleware.
public class KenticoRequestLocalizationOptions
- Inheritance
-
objectKenticoRequestLocalizationOptions
- Extension Methods
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)