public NotificationServiceDependencies(INotificationListViewModel notificationListViewModel, INotificationFactory notificationFactory)
 {
     NotificationListViewModel = notificationListViewModel;
     NotificationFactory = notificationFactory;
 }
Example #2
0
 public NotificationService(INotificationServiceDependencies dependencies)
 {
     _notificationListViewModel = dependencies.NotificationListViewModel;
     _notificationFactory = dependencies.NotificationFactory;
 }
 public NotificationView(INotificationListViewModel notificationListViewModel)
 {
     DataContext = notificationListViewModel;
     InitializeComponent();
 }