Spotify.NET/SpotifyAPI.Web.Examples/Example.ASPBlazor/Data/WeatherForecast.cs

16 lines
281 B
C#
Raw Normal View History

2020-05-22 11:23:25 +01:00
using System;
namespace Example.ASPBlazor.Data
{
2022-11-27 12:29:35 +00:00
public class WeatherForecast
{
public DateTime Date { get; set; }
2020-05-22 11:23:25 +01:00
2022-11-27 12:29:35 +00:00
public int TemperatureC { get; set; }
2020-05-22 11:23:25 +01:00
2022-11-27 12:29:35 +00:00
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
2020-05-22 11:23:25 +01:00
2022-11-27 12:29:35 +00:00
public string Summary { get; set; }
}
2020-05-22 11:23:25 +01:00
}