Ejemplo n.º 1
0
        public IEnumerable <INotification> GetNotificationsToRemove(NotificationsList notifications)
        {
            var notificationsToRemove = notifications
                                        .Where(x => x.Value.Notification.DisplayPart.GetOptions().Tag == _tag)
                                        .Select(x => x.Value.Notification)
                                        .ToList();

            return(notificationsToRemove);
        }
Ejemplo n.º 2
0
        public IEnumerable <INotification> GetNotificationsToRemove(NotificationsList notifications)
        {
            var notificationsToRemove = notifications
                                        .Where(x => x.Value.Notification.Options.Tag.Equals(_tag))
                                        .Select(x => x.Value.Notification)
                                        .ToList();

            return(notificationsToRemove);
        }