27 writes to SupportedUICultures
BasicWebSite (1)
LocalizationPipeline.cs (1)
24
SupportedUICultures
= supportedCultures
LocalizationWebsite (6)
StartupContentLanguageHeader.cs (1)
27
SupportedUICultures
= new List<CultureInfo>()
StartupCustomCulturePreserved.cs (1)
26
SupportedUICultures
= new List<CultureInfo>()
StartupGetAllStrings.cs (1)
30
SupportedUICultures
= new List<CultureInfo>()
StartupResourcesAtRootFolder.cs (1)
33
SupportedUICultures
= new List<CultureInfo>()
StartupResourcesInClassLibrary.cs (1)
33
SupportedUICultures
= supportedCultures
StartupResourcesInFolder.cs (1)
36
SupportedUICultures
= new List<CultureInfo>()
Microsoft.AspNetCore.Localization (1)
RequestLocalizationOptions.cs (1)
150
SupportedUICultures
= supportedUICultures;
Microsoft.AspNetCore.Localization.Routing.Tests (2)
RouteDataRequestCultureProviderTest.cs (2)
49
SupportedUICultures
= new List<CultureInfo>
168
SupportedUICultures
= new List<CultureInfo>
Microsoft.AspNetCore.Localization.Tests (14)
AcceptLanguageHeaderRequestCultureProviderTest.cs (1)
154
SupportedUICultures
= new List<CultureInfo>
CookieRequestCultureProviderTest.cs (5)
36
SupportedUICultures
= new List<CultureInfo>
89
SupportedUICultures
= new List<CultureInfo>
138
SupportedUICultures
= new List<CultureInfo>
189
SupportedUICultures
= new List<CultureInfo>
249
SupportedUICultures
= new List<CultureInfo>
CustomRequestCultureProviderTest.cs (1)
33
SupportedUICultures
= new List<CultureInfo>
QueryStringRequestCultureProviderTest.cs (7)
32
SupportedUICultures
= new List<CultureInfo>
108
SupportedUICultures
= new List<CultureInfo>
149
SupportedUICultures
= new List<CultureInfo>
190
SupportedUICultures
= new List<CultureInfo>
232
SupportedUICultures
= new List<CultureInfo>
274
SupportedUICultures
= new List<CultureInfo>
321
SupportedUICultures
= new List<CultureInfo>
RazorPagesWebSite (1)
StartupWithoutEndpointRouting.cs (1)
44
SupportedUICultures
= supportedCultures
RazorWebSite (2)
Startup.cs (1)
55
SupportedUICultures
= new List<CultureInfo>
StartupDataAnnotations.cs (1)
41
SupportedUICultures
= new List<CultureInfo>
9 references to SupportedUICultures
HtmlGenerationWebSite (3)
StartupWithCultureReplace.cs (3)
26
options.
SupportedUICultures
.Add(new CultureInfo("fr-FR"));
27
options.
SupportedUICultures
.Add(new CultureInfo("fr-CA"));
28
options.
SupportedUICultures
.Add(new CultureInfo("en-GB"));
Microsoft.AspNetCore.Localization (3)
RequestLocalizationMiddleware.cs (2)
82
if (_options.
SupportedUICultures
!= null)
86
_options.
SupportedUICultures
,
RequestLocalizationOptions.cs (1)
73
/// <see cref="
SupportedUICultures
"/> list but a parent culture is.
Microsoft.AspNetCore.Localization.Tests (3)
RequestLocalizationOptionsTest.cs (3)
66
Assert.Collection(options.
SupportedUICultures
, item => Assert.Equal(CultureInfo.CurrentUICulture, item));
82
Assert.Collection(options.
SupportedUICultures
, item => Assert.Equal(explicitCulture, item));
110
Assert.Equal(supportedUICultures, options.
SupportedUICultures
.Select(c => c.Name));