Class

WeatherCollection<T>

USI.Weather

Public SDK type.

public sealed class WeatherCollection<T> : IEquatable<WeatherCollection<T>>

Constructors

WeatherCollection`1

public WeatherCollection(IReadOnlyList<T> Items, WeatherSourceKind Source, DateTimeOffset RetrievedAt, bool IsFromCache)

Properties

Count

public int Count { get; }

IsFromCache

public bool IsFromCache { get; set; }

Items

public IReadOnlyList<T> Items { get; set; }

RetrievedAt

public DateTimeOffset RetrievedAt { get; set; }

Source

public WeatherSourceKind Source { get; set; }

Methods

<Clone>$

public WeatherCollection<T> <Clone>$()

Deconstruct

public void Deconstruct(IReadOnlyList<T> Items, WeatherSourceKind Source, DateTimeOffset RetrievedAt, bool IsFromCache)

Equals

public bool Equals(object obj)

Equals

public bool Equals(WeatherCollection<T> other)

GetHashCode

public int GetHashCode()

ToString

public string ToString()