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