private void OnGetWeatherDaily(WeatherForecast weather, CancellationToken token) { if (IfCancellationRequested(token)) { return; } if (weather == null) { return; } var utcNow = DateTime.UtcNow; Currently = weather.FindActualCurrently(utcNow); if (Currently != null) { Daily = weather.GetLocalDaily(utcNow.ToLocalTime()); } }