Dela via


RequestLocalizationOptions.RequestCultureProviders Property

Definition

An ordered list of providers used to determine a request's culture information. The first provider that returns a non-null result for a given request will be used. Defaults to the following:

  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)

Property Value

Applies to