Share via


RequestCultureFeature(RequestCulture, IRequestCultureProvider) Constructor

Definition

Creates a new RequestCultureFeature with the specified RequestCulture.

public:
 RequestCultureFeature(Microsoft::AspNetCore::Localization::RequestCulture ^ requestCulture, Microsoft::AspNetCore::Localization::IRequestCultureProvider ^ provider);
public RequestCultureFeature (Microsoft.AspNetCore.Localization.RequestCulture requestCulture, Microsoft.AspNetCore.Localization.IRequestCultureProvider provider);
public RequestCultureFeature (Microsoft.AspNetCore.Localization.RequestCulture requestCulture, Microsoft.AspNetCore.Localization.IRequestCultureProvider? provider);
new Microsoft.AspNetCore.Localization.RequestCultureFeature : Microsoft.AspNetCore.Localization.RequestCulture * Microsoft.AspNetCore.Localization.IRequestCultureProvider -> Microsoft.AspNetCore.Localization.RequestCultureFeature
Public Sub New (requestCulture As RequestCulture, provider As IRequestCultureProvider)

Parameters

requestCulture
RequestCulture

The RequestCulture.

Applies to