27 instantiations of CultureReplacer
Diagnostics.FunctionalTests (1)
TestFixture.cs (1)
22using (new CultureReplacer())
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyCultureProviderTest.cs (1)
38using var cultureReplacer = new CultureReplacer("fr-FR");
Microsoft.AspNetCore.InternalTesting (1)
ExceptionAssertions.cs (1)
227using (new CultureReplacer())
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (14)
DataAnnotationsMetadataProviderTest.cs (12)
599using (new CultureReplacer("en-US", "en-US")) 605using (new CultureReplacer("fr-FR", "fr-FR")) 1031using (new CultureReplacer("en-US", "en-US")) 1036using (new CultureReplacer("fr-FR", "fr-FR")) 1051using (new CultureReplacer("en-US", "en-US")) 1056using (new CultureReplacer("fr-FR", "fr-FR")) 1071using (new CultureReplacer("en-US", "en-US")) 1076using (new CultureReplacer("fr-FR", "fr-FR")) 1091using (new CultureReplacer("en-US", "en-US")) 1096using (new CultureReplacer("fr-FR", "fr-FR")) 1745using (new CultureReplacer(string.Empty, string.Empty)) 1754using (new CultureReplacer(string.Empty, string.Empty))
ModelMetadataProviderTest.cs (2)
457using (new CultureReplacer(uiCulture: culture)) 483using (new CultureReplacer(uiCulture: culture))
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RazorPagesTest.cs (1)
1405using (new CultureReplacer(CultureInfo.InvariantCulture, CultureInfo.InvariantCulture))
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorViewEngineTest.cs (1)
1702using (new CultureReplacer())
Microsoft.AspNetCore.Mvc.TagHelpers.Test (6)
CacheTagKeyTest.cs (6)
454using (new CultureReplacer("fr-FR")) 460using (new CultureReplacer("es-ES")) 486using (new CultureReplacer("fr", "fr-FR")) 492using (new CultureReplacer("fr", "fr-CA")) 519using (new CultureReplacer("fr-FR", "fr-FR")) 524using (new CultureReplacer("fr-fr", "fr-fr"))
Microsoft.AspNetCore.Routing.Tests (2)
Constraints\RegexInlineRouteConstraintTests.cs (1)
76using (new CultureReplacer(culture))
Constraints\RegexRouteConstraintTests.cs (1)
118using (new CultureReplacer(culture))
1 reference to CultureReplacer
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyCultureProviderTest.cs (1)
38using var cultureReplacer = new CultureReplacer("fr-FR");