CustomRequestCultureProvider 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 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
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) |