예제 #1
0
 //Overload the method for now. It should later be deterministic and be called with a source url
 public IEnumerable <IPollenInfo> GetPollenInfo()
 {
     return(PollenDmi.GetDmiAllPollens(RelevantCities, RelevantPlants));
 }
예제 #2
0
 public IEnumerable <IPollenInfo> GetPollenInfo(string sourceUrl)
 {
     //Implement this to allow choosing between different pollen sources
     //For now we will always return the pollen levels from the PollenDMI class
     return(PollenDmi.GetDmiAllPollens(RelevantCities, RelevantPlants));
 }