8 references to Culture
Aspire.Hosting.Tests (5)
Utils\UseCultureAttributeTests.cs (5)
16Assert.Throws<ArgumentNullException>(() => new UseCultureAttribute(null!).Culture); 28Assert.Equal(culture, attr.Culture.Name); 39Assert.Equal(culture, attr.Culture.Name); 75Assert.Equal(attr.Culture, Thread.CurrentThread.CurrentCulture); 125Assert.Equal(attr.Culture, Thread.CurrentThread.CurrentCulture);
Aspire.TestUtilities (3)
UseCultureAttribute.cs (3)
49/// <see cref="Culture" /> and <see cref="UICulture" />. 67CultureInfo.DefaultThreadCurrentCulture = Culture; 70Thread.CurrentThread.CurrentCulture = Culture;