RouteDataRequestCultureProvider 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 values in the route data.
public ref class RouteDataRequestCultureProvider : Microsoft::AspNetCore::Localization::RequestCultureProvider
public class RouteDataRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider
type RouteDataRequestCultureProvider = class
inherit RequestCultureProvider
Public Class RouteDataRequestCultureProvider
Inherits RequestCultureProvider
- Inheritance
Constructors
RouteDataRequestCultureProvider() |
Properties
Options |
The current options for the RequestLocalizationMiddleware. (Inherited from RequestCultureProvider) |
RouteDataStringKey |
The key that contains the culture name. Defaults to "culture". |
UIRouteDataStringKey |
The key that contains the UI culture name. If not specified or no value is found, RouteDataStringKey will be used. Defaults to "ui-culture". |
Methods
DetermineProviderCultureResult(HttpContext) |
Implements the provider to determine the culture of the given request. |