AcceptLanguageHeaderRequestCultureProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the culture information for a request via the value of the Accept-Language header.
public ref class AcceptLanguageHeaderRequestCultureProvider : Microsoft::AspNetCore::Localization::RequestCultureProvider
public class AcceptLanguageHeaderRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider
type AcceptLanguageHeaderRequestCultureProvider = class
inherit RequestCultureProvider
Public Class AcceptLanguageHeaderRequestCultureProvider
Inherits RequestCultureProvider
- Inheritance
Constructors
AcceptLanguageHeaderRequestCultureProvider() |
Properties
MaximumAcceptLanguageHeaderValuesToTry |
The maximum number of values in the Accept-Language header to attempt to create a CultureInfo
from for the current request.
Defaults to |
Options |
The current options for the RequestLocalizationMiddleware. (Inherited from RequestCultureProvider) |
Methods
DetermineProviderCultureResult(HttpContext) | System.Object.DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext) |