Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Localization.​QueryStringRequestCultureProvider
Assembly: Microsoft.AspNetCore.Localization
Inheritance: object → RequestCultureProvider → QueryStringRequestCultureProvider
Implemented Interfaces
- IRequestCultureProvider Implemented by: RequestCultureProvider
Determines the culture information for a request via values in the query string.
Properties
public
string
QueryStringKey
The key that contains the culture name.
Defaults to "culture".
public
string
UIQueryStringKey
The key that contains the UI culture name. If not specified or no value is found,
<see cref="P:Microsoft.AspNetCore.Localization.QueryStringRequestCultureProvider.QueryStringKey" /> will be used.
Defaults to "ui-culture".
Options
The current options for the <see cref="T:Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware" /> .
Methods
public
System.​Threading.​Tasks.​Task<​ProviderCultureResult>
DetermineProviderCultureResult​(Http.​HttpContext httpContext)
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object