2 writes to Country
Microsoft.Extensions.Options.Contextual.Tests (2)
AcceptanceTests.cs (2)
96
Assert.Equal("Fahrenheit", (await forecastService.GetForecast(new WeatherForecastContext {
Country
= "US" }, CancellationToken.None)).First().TemperatureScale);
97
Assert.Equal("Celsius", (await forecastService.GetForecast(new WeatherForecastContext {
Country
= "CA" }, CancellationToken.None)).First().TemperatureScale);