Beispiel #1
0
 /// <summary>
 /// Raises the <see cref="E:WeatherChange" /> event.
 /// </summary>
 /// <param name="info">The <see cref="WeatherInfoEventArgs"/> instance containing the event data.</param>
 protected virtual void OnWeatherChange(WeatherInfoEventArgs info) => WeatherChange?.Invoke(this, info);
Beispiel #2
0
 protected virtual void OnWeatherChange(WeatherChangeEventArgs args)
 {
     WeatherChange?.Invoke(this, args);
 }