RequestLocalizationOptions.RequestCultureProviders 属性

定义

用于确定请求的区域性信息的提供程序的有序列表。 将使用为给定请求返回非null 结果的第一个提供程序。 默认为以下内容:

  1. QueryStringRequestCultureProvider
  2. CookieRequestCultureProvider
  3. AcceptLanguageHeaderRequestCultureProvider
public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Localization::IRequestCultureProvider ^> ^ RequestCultureProviders { System::Collections::Generic::IList<Microsoft::AspNetCore::Localization::IRequestCultureProvider ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::AspNetCore::Localization::IRequestCultureProvider ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Localization.IRequestCultureProvider> RequestCultureProviders { get; set; }
member this.RequestCultureProviders : System.Collections.Generic.IList<Microsoft.AspNetCore.Localization.IRequestCultureProvider> with get, set
Public Property RequestCultureProviders As IList(Of IRequestCultureProvider)

属性值

适用于