Table of Contents

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

data JToken

The JSON token that contains the temperature values.

Properties

Day

Daytime temperature in Celsius.

public double? Day { get; }

Property Value

double?

Evening

Evening temperature in Celsius.

public double? Evening { get; }

Property Value

double?

Max

Maximum daily temperature in Celsius.

public double? Max { get; }

Property Value

double?

Min

Minimum daily temperature in Celsius.

public double? Min { get; }

Property Value

double?

Morning

Morning temperature in Celsius.

public double? Morning { get; }

Property Value

double?

Night

Night temperature in Celsius.

public double? Night { get; }

Property Value

double?