sharding/samples/Sample.MultiConfig/WeatherForecast.cs

13 lines
284 B
C#
Raw Permalink Normal View History

2022-01-07 09:40:28 +08:00
namespace Sample.MultiConfig
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string? Summary { get; set; }
}
}