RequestCultureProvider Class

Definition

An abstract base class provider for determining the culture information of an HttpRequest.

C#
public abstract class RequestCultureProvider : Microsoft.AspNetCore.Localization.IRequestCultureProvider
Inheritance
RequestCultureProvider
Derived
Implements

Constructors

Fields

NullProviderCultureResult

Result that indicates that this instance of RequestCultureProvider could not determine the request culture.

Properties

Options

The current options for the RequestLocalizationMiddleware.

Methods

DetermineProviderCultureResult(HttpContext)

Implements the provider to determine the culture of the given request.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0