Example #1
0
        private void Save()
        {
            App.Current.Dispatcher.Invoke(() =>
            {
                _settings.Save("Version", 0);
                _settings.Save("IsInitialized", true);
                _settings.Save(nameof(this.WindowSettings), this.WindowSettings.Value);
                _settings.Save(nameof(this.DynamicOptions), this.DynamicOptions.GetProperties(), true);
            });

            _messageManager.Save();

            _amoebaInterfaceManager.Save();

            SettingsManager.Instance.UseLanguage = LanguagesManager.Instance.CurrentLanguage;
            SettingsManager.Instance.Save();
        }