共用方式為


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)

屬性值

適用於