Table of Contents

Class RainPointWeather

Namespace
RainPointClient
Assembly
RainPointClient.dll

Contains current, hourly and daily vendor weather data with their cache-expiry metadata.

public sealed class RainPointWeather
Inheritance
RainPointWeather
Inherited Members

Properties

Current

Gets the current weather reading, or null when not supplied.

public RainPointWeatherReading? Current { get; }

Property Value

RainPointWeatherReading

Daily

Gets the supplied daily forecast readings; missing periods are not synthesized.

public IReadOnlyList<RainPointWeatherReading> Daily { get; }

Property Value

IReadOnlyList<RainPointWeatherReading>

DailyExpiresAt

Gets the daily series expiry instant, or null for an absent or invalid expiry.

public DateTimeOffset? DailyExpiresAt { get; }

Property Value

DateTimeOffset?

Hourly

Gets the supplied hourly forecast readings; missing periods are not synthesized.

public IReadOnlyList<RainPointWeatherReading> Hourly { get; }

Property Value

IReadOnlyList<RainPointWeatherReading>

HourlyExpiresAt

Gets the hourly series expiry instant, or null for an absent or invalid expiry.

public DateTimeOffset? HourlyExpiresAt { get; }

Property Value

DateTimeOffset?