private async Task OnReminderFailedAsync(ReminderItem reminder)
        {
            reminder.MarkFailed();
            await _storage.UpdateAsync(reminder);

            ReminderFailed?.Invoke(this, new ReminderEventArgs(reminder));
        }
示例#2
0
        private async Task OnReminderFailedAsync(ReminderItem reminder)
        {
            _logger.LogWarning($"Mark reminder {reminder.Id:N} as failed");
            reminder.MarkFailed();
            await _storage.UpdateAsync(reminder);

            ReminderFailed?.Invoke(this, new ReminderEventArgs(reminder));
        }
示例#3
0
 private void OnReminderFailed(ReminderItem reminder)
 {
     _logger.LogWarning($"Mark reminder {reminder.Id:N} as failed");
     reminder.MarkFailed();
     ReminderFailed?.Invoke(this, new ReminderEventArgs(reminder));
 }