Dela via


QueryStringRequestCultureProvider Class

Definition

Determines the culture information for a request via values in the query string.

public ref class QueryStringRequestCultureProvider : Microsoft::AspNetCore::Localization::RequestCultureProvider
public class QueryStringRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider
type QueryStringRequestCultureProvider = class
    inherit RequestCultureProvider
Public Class QueryStringRequestCultureProvider
Inherits RequestCultureProvider
Inheritance
QueryStringRequestCultureProvider

Constructors

QueryStringRequestCultureProvider()

Properties

Options

The current options for the RequestLocalizationMiddleware.

(Inherited from RequestCultureProvider)
QueryStringKey

The key that contains the culture name. Defaults to "culture".

UIQueryStringKey

The key that contains the UI culture name. If not specified or no value is found, QueryStringKey will be used. Defaults to "ui-culture".

Methods

DetermineProviderCultureResult(HttpContext) System.Object.DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext)

Applies to