public ActionViewModel(NotificationAction notificationAction)
        {
            _notificationAction = notificationAction;

            ActionTypes = new[]
                {
                    new ComboViewModel<ActionType>("flash the task bar", ActionType.FlashTaskbar),
                    new ComboViewModel<ActionType>("show a toast", ActionType.ShowToast),
                    //new ComboViewModel<ActionType>("play a sound", ActionType.PlaySound),
                };

            ActionConditions = new[]
                {
                    new ComboViewModel<ActionCondition>("always", ActionCondition.None),
                    new ComboViewModel<ActionCondition>("when idle for at least", ActionCondition.RoomIdle),
                    new ComboViewModel<ActionCondition>("last notification was at least",
                                                        ActionCondition.MinimumTimeSinceLastNotification),
                };

            SelectedActionType = ActionTypes.FirstOrDefault(at => at.Data == notificationAction.ActionType);
            SelectedActionCondition = ActionConditions.FirstOrDefault(ac => ac.Data == notificationAction.ActionCondition);
            Interval = notificationAction.Interval;
        }
 public FlashTaskBarAction(NotificationAction data, ITaskBar taskbar)
 {
     _data = data;
     _taskbar = taskbar;
 }