Udostępnij za pośrednictwem


RequestCultureFeature(RequestCulture, IRequestCultureProvider) Konstruktor

Definicja

Tworzy nowy RequestCultureFeature przy użyciu określonego RequestCultureelementu .

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)

Parametry

requestCulture
RequestCulture

Element RequestCulture.

Dotyczy