public HeatIndexDisplay(IWeatherData wd) { this.weatherData = wd; weatherData.RegisterObserver(this); this._dataObject = new WeatherDataObject(); }
public CurrentConditionsDisplay(IWeatherData wd) { this.weatherData = wd; weatherData.RegisterObserver(this); this._dataObject = new WeatherDataObject(); }