public void UnRegister(WeatherData weatherData) => weatherData.MeasurementChanges -= OnMeasurementChanges;
public void Unregister(WeatherData weatherData) { weatherData.WeatherChanged -= WeatherChanged; }
public void Register(WeatherData weatherData) { weatherData.WeatherInfoEventHandler += SendCurrentConditionsReport; }
public void Register(WeatherData weatherData) { weatherData.WeatherChanged += WeatherChanged; }
public void Subscribe(WeatherData data) { data.Change += this.Update; }
public void Unsubscribe(WeatherData data) { data.Change -= this.Update; }
public void Register(WeatherData weatherData) { weatherData.WeatherInfoEventHandler += SendStatisticReport; }
public void Register(WeatherData weatherData) { weatherData.WeatherInfoEventHandler += SendForeCastReport; }