30 writes to SupportedCultures
BasicWebSite (1)
LocalizationPipeline.cs (1)
23
SupportedCultures
= supportedCultures,
LocalizationWebsite (6)
StartupContentLanguageHeader.cs (1)
23
SupportedCultures
= new List<CultureInfo>()
StartupCustomCulturePreserved.cs (1)
22
SupportedCultures
= new List<CultureInfo>()
StartupGetAllStrings.cs (1)
26
SupportedCultures
= new List<CultureInfo>()
StartupResourcesAtRootFolder.cs (1)
29
SupportedCultures
= new List<CultureInfo>()
StartupResourcesInClassLibrary.cs (1)
32
SupportedCultures
= supportedCultures,
StartupResourcesInFolder.cs (1)
32
SupportedCultures
= new List<CultureInfo>()
Microsoft.AspNetCore.Localization (1)
RequestLocalizationOptions.cs (1)
132
SupportedCultures
= supportedCultures;
Microsoft.AspNetCore.Localization.Routing.Tests (2)
RouteDataRequestCultureProviderTest.cs (2)
45
SupportedCultures
= new List<CultureInfo>
164
SupportedCultures
= new List<CultureInfo>
Microsoft.AspNetCore.Localization.Tests (17)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
28
SupportedCultures
= new List<CultureInfo>
69
SupportedCultures
= new List<CultureInfo>
109
SupportedCultures
= new List<CultureInfo>
150
SupportedCultures
= new List<CultureInfo>
CookieRequestCultureProviderTest.cs (5)
32
SupportedCultures
= new List<CultureInfo>
85
SupportedCultures
= new List<CultureInfo>
134
SupportedCultures
= new List<CultureInfo>
185
SupportedCultures
= new List<CultureInfo>
245
SupportedCultures
= new List<CultureInfo>
CustomRequestCultureProviderTest.cs (1)
29
SupportedCultures
= new List<CultureInfo>
QueryStringRequestCultureProviderTest.cs (7)
28
SupportedCultures
= new List<CultureInfo>
104
SupportedCultures
= new List<CultureInfo>
145
SupportedCultures
= new List<CultureInfo>
186
SupportedCultures
= new List<CultureInfo>
228
SupportedCultures
= new List<CultureInfo>
270
SupportedCultures
= new List<CultureInfo>
317
SupportedCultures
= new List<CultureInfo>
RazorPagesWebSite (1)
StartupWithoutEndpointRouting.cs (1)
43
SupportedCultures
= supportedCultures,
RazorWebSite (2)
Startup.cs (1)
49
SupportedCultures
= new List<CultureInfo>
StartupDataAnnotations.cs (1)
37
SupportedCultures
= new List<CultureInfo>
9 references to SupportedCultures
HtmlGenerationWebSite (2)
StartupWithCultureReplace.cs (2)
23
options.
SupportedCultures
.Add(new CultureInfo("fr-FR"));
24
options.
SupportedCultures
.Add(new CultureInfo("en-GB"));
Microsoft.AspNetCore.Localization (3)
RequestLocalizationMiddleware.cs (2)
69
if (_options.
SupportedCultures
!= null)
73
_options.
SupportedCultures
,
RequestLocalizationOptions.cs (1)
57
/// <see cref="
SupportedCultures
"/> list but a parent culture is.
Microsoft.AspNetCore.Localization.Tests (4)
CustomRequestCultureProviderTest.cs (1)
40
var culture = GetCultureInfoFromUrl(context, options.
SupportedCultures
);
RequestLocalizationOptionsTest.cs (3)
65
Assert.Collection(options.
SupportedCultures
, item => Assert.Equal(CultureInfo.CurrentCulture, item));
81
Assert.Collection(options.
SupportedCultures
, item => Assert.Equal(explicitCulture, item));
96
Assert.Equal(supportedCultures, options.
SupportedCultures
.Select(c => c.Name));