Share via


CustomRequestCultureProvider Class

Definition

Determines the culture information for a request via the configured delegate.

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

Constructors

CustomRequestCultureProvider(Func<HttpContext,Task<ProviderCultureResult>>)

Creates a new CustomRequestCultureProvider using the specified delegate.

Properties

Options

The current options for the RequestLocalizationMiddleware.

(Inherited from RequestCultureProvider)

Methods

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

Applies to