コード例 #1
0
ファイル: CityWeather.cs プロジェクト: aritzcovan/ezweather
 public CityWeather(string cityAndState, IWeatherService weatherService)
 {
     _wf = new ObservableCollection<WeatherForecast>();
     _wc = new CurrentWeatherConditions();
     _weatherService = weatherService;
     _cityAndState = cityAndState;
     LoadWeather();
 }
コード例 #2
0
ファイル: WeatherResult.cs プロジェクト: aritzcovan/ezweather
 public WeatherResult()
 {
     _forecast = new ObservableCollection<WeatherForecast>();
     _weatherConditions = new CurrentWeatherConditions();
 }