Click or drag to resize

LocationInfoResponseSources Property

Returns the non-null, non-empty array of source(s) (essentially weather stations) that would be used to generate data for an equivalent LocationDataResponse.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public ReadOnlyCollection<Source> Sources { get; }

Property Value

ReadOnlyCollectionSource
Remarks

At the time of writing there will only be one source for any given response (so .Sources()[0] is the way to get it)... But at some point we might start combining data from multiple sources to satisfy requests for data from geographic locations. If we do add this feature, it will be optional, and disabled by default, so the behaviour of your system won't change unless you want it to.

See Also