Пример #1
0
        public SettingsViewModel()
        {
            addonController = new AddonsControllerFactory().CreateAddonController();
            settingsManager = domainFactory.CreateSettingsManager();

            NotificationQueue = new SnackbarMessageQueue();
        }
Пример #2
0
        public AddonsViewModel()
        {
            RemoveAddonsCommand = domainFactory.CreateCommand(RemoveAddons);
            addonController     = addonControllerFactory.CreateAddonController();

            settingsManager = domainFactory.CreateSettingsManager();

            SettingsPrompt = new Views.SettingsPrompt();

            NotificationQueue = new SnackbarMessageQueue(new TimeSpan(0, 0, 5));

            CheckForNewerVersions();
        }