Table of Contents

Class Coordinates

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Represents the coordinate payload returned from the OpenWeather current weather response.

public class Coordinates
Inheritance
Coordinates
Inherited Members

Properties

Latitude

City geo location, latitude

public double? Latitude { get; }

Property Value

double?

City geo location, latitude

Longitude

City geo location, longitude

public double? Longitude { get; }

Property Value

double?

City geo location, longitude

Methods

FromJson(string?)

Creates this model from its OpenWeather JSON fragment.

public static Coordinates FromJson(string? json)

Parameters

json string

The JSON fragment, or null for an empty model.

Returns

Coordinates

The parsed weather model.