Class Temperature
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents the temperature readings for each part of the day in the daily forecast.
public class Temperature
- Inheritance
-
Temperature
- Inherited Members
Constructors
Temperature(JToken?)
Initializes a new instance of the Temperature class from JSON data.
public Temperature(JToken? data)
Parameters
dataJTokenThe JSON token that contains the temperature values.
Properties
Day
Daytime temperature in Celsius.
public double? Day { get; }
Property Value
Evening
Evening temperature in Celsius.
public double? Evening { get; }
Property Value
Max
Maximum daily temperature in Celsius.
public double? Max { get; }
Property Value
Min
Minimum daily temperature in Celsius.
public double? Min { get; }
Property Value
Morning
Morning temperature in Celsius.
public double? Morning { get; }
Property Value
Night
Night temperature in Celsius.
public double? Night { get; }