protected virtual void OnWeatherChanged(WeatherChangedArgs e)
 {
     WeatherChanged?.Invoke(this, e);
 }
示例#2
0
 private void HandleWatherChanged(object sender, WeatherChangedArgs e)
 {
     Console.WriteLine("StatisticReport handles weather changing!");
 }
示例#3
0
 private void HandleWatherChanged(object sender, WeatherChangedArgs e)
 {
     Console.WriteLine("CurrentConditionsReport handles weather changing!");
 }