コード例 #1
0
 public void StatisticReportMsg(object sender, WeatherInfoEventArgs eventArgs)
 {
     Console.WriteLine("Statistic");
 }
コード例 #2
0
        protected virtual void OnNewWeatherInfo(WeatherInfoEventArgs e)
        {
            EventHandler <WeatherInfoEventArgs> temp = newWeatherInfo;

            temp?.Invoke(this, e);
        }
コード例 #3
0
 public void CurrentConditionsReportMsg(object sender, WeatherInfoEventArgs eventArgs)
 {
     Console.WriteLine("CurrentConditions");
 }
コード例 #4
0
 public void ForeCastReportMsg(object sender, WeatherInfoEventArgs eventArgs)
 {
     Console.WriteLine("ForeCast");
 }