public AverageTemperatureDisplay(IObservableObject weatherData)
 {
     _weatherData = weatherData;
     _weatherData.AddObserver(this);
     _historicalTempuratures = new List <float>();
     _currentTemperature     = 0;
 }
Exemple #2
0
 public CurrentConditionsDisplay(IObservableObject weatherData)
 {
     _weatherData = weatherData;
     _weatherData.AddObserver(this);
 }