public void StatisticReportMsg(object sender, WeatherInfoEventArgs eventArgs) { Console.WriteLine("Statistic"); }
protected virtual void OnNewWeatherInfo(WeatherInfoEventArgs e) { EventHandler <WeatherInfoEventArgs> temp = newWeatherInfo; temp?.Invoke(this, e); }
public void CurrentConditionsReportMsg(object sender, WeatherInfoEventArgs eventArgs) { Console.WriteLine("CurrentConditions"); }
public void ForeCastReportMsg(object sender, WeatherInfoEventArgs eventArgs) { Console.WriteLine("ForeCast"); }