Пример #1
0
        public LogDesignViewModel() : base(new NotificationBus())
        {
            Notifications.AddOnScheduler(new DummyNotification("Some info", NotificationType.Information));
            Notifications.AddOnScheduler(new DummyNotification("Some warning", NotificationType.Warning));
            Notifications.AddOnScheduler(new DummyNotification("Some error", NotificationType.Error));
            var backupNotification = new BackupNotification(new PositionWindowsByProcess[0]);

            Notifications.AddOnScheduler(backupNotification);
            SelectedNotification.Value = backupNotification;
        }