issues
search
AlienDwarf
/
open-meteo-dotnet
A .Net library for the Open-Meteo.com API.
MIT License
26
stars
9
forks
source link
7 make hourlyoptions and dailyoptions enumerable
#10
Closed
AlienDwarf
closed
2 years ago
AlienDwarf
commented
2 years ago
HourlyOptions
and
DailyOptions
now implement IEnumerable and ICollection
.
It is now possible to use a
foreach
loop to get all elements in the underlying list.
Both classes now use a List
or List
instead of old List
Tests edited to match new logic
Removed constructors which took a
string
as argument so you can only add existing options now.
HourlyOptions
andDailyOptions
now implement IEnumerable and ICollectionforeach
loop to get all elements in the underlying list.string
as argument so you can only add existing options now.