RequestCultureFeature(RequestCulture, IRequestCultureProvider) Constructor
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.
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.
- provider
- IRequestCultureProvider