1 write to TemperatureScale
Microsoft.Extensions.Options.Contextual.Tests (1)
AcceptanceTests.cs (1)
62
TemperatureScale
= options.TemperatureScale,
2 references to TemperatureScale
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
);