예제 #1
0
 public CityWeather(string cityAndState, IWeatherService weatherService)
 {
     _wf = new ObservableCollection<WeatherForecast>();
     _wc = new CurrentWeatherConditions();
     _weatherService = weatherService;
     _cityAndState = cityAndState;
     LoadWeather();
 }
예제 #2
0
 public WeatherResult()
 {
     _forecast = new ObservableCollection<WeatherForecast>();
     _weatherConditions = new CurrentWeatherConditions();
 }