Exemple #1
0
        private void LoadUserConfig()
        {
            foreach (var pair in _reporterConfig.GetConfiguration())
            {
                var key   = pair.Key;
                var value = pair.Value;

                var c = new Config(key, value);
                _configManager.AddConfig(c);
            }
        }
        private void LoadUserConfig()
        {
            foreach (var config in _configManager.Configuration)
            {
                var key   = config.Key;
                var value = config.Value;

                if (!string.IsNullOrEmpty(value))
                {
                    _reporterConfig.GetConfiguration()[key] = value;
                }
            }
        }