public NotificationsButtonViewModel(NotificationCollectionService notificationCollectionService) { Notifications = notificationCollectionService.Notifications; OpenNotificationsWindowCommand = new DelegateCommand(OpenNotificationsWindowCommand_Execute); }
public NotificationsContentViewModel(NotificationCollectionService notificationCollectionService) { Notifications = notificationCollectionService.Notifications; DismissNotificationCommand = new DelegateCommand <Notification>(DismissNotificationCommand_Execute); DismissAllNotificationsCommand = new DelegateCommand(DismissAllNotificationsCommand_Execute); }