Пример #1
0
        void UpdateConfig()
        {
            loggingService.SendMessage("Checking config");
            var config = configSerializer.GetConfig(false);

            if (Config != null && configSerializer.IsConfigEquals(config, Config))
            {
                return;
            }
            Config = config;
            FillSolutions();
            ServiceLocator.Current.GetInstance <IAppearanceService>()?.SetTheme(/*Config.ThemeName*/ "VS2017Light");
            loggingService.SendMessage("Config loaded");
            UpdateContent();
        }
Пример #2
0
 bool IsChanged()
 {
     return(!configSerializer.IsConfigEquals(configSerializer.GetConfig(false), Config));
 }