AGENT.Contrib.Weather.SimpleWeatherForecast.updateWeather C# (CSharp) Method

updateWeather() private method

private updateWeather ( object state ) : void
state object
return void
        private void updateWeather(object state)
        {
            if (OnWeatherUpdated != null)
            {
                Debug.Print("Weather info has been upadted:" + CurrentForecast.TimeStamp.ToString());
                SetupNewSetOfRandomData();
                Debug.Print("Weather info has been upadted:" + CurrentForecast.TimeStamp.ToString());
                OnWeatherUpdated(this);
            }
        }