public void Notify() { if (WeatherChanging != null) { WeatherChanging.Invoke(this, _state); } }
//This emits Rain, BlueSky or Cloudy protected virtual void OnWeatherChanging(string weatherType) { WeatherChanging?.Invoke(this, new WeatherChangingArgs() { type = weatherType }); }