BeFriend.ViewModel.ReminderPageViewModel.ReminderRemover C# (CSharp) Метод

ReminderRemover() приватный статический Метод

private static ReminderRemover ( ) : void
Результат void
        private static void ReminderRemover()
        {
            var scheduled = ToastNotificationManager.CreateToastNotifier().GetScheduledToastNotifications();

            const string id = "scheduledtoast";

            foreach (var notify in scheduled.Where(notify => notify.Id == id))
            {
                ToastNotificationManager.CreateToastNotifier().RemoveFromSchedule(notify);
            }
        }
    }