private void LoadUserConfig()
        {
            foreach (var pair in Configuration.UserConfigurationMap)
            {
                var key   = pair.Key;
                var value = pair.Value;

                var c = new Config(key, value);
                MasterConfig.AddConfig(c);
            }
        }
Example #2
0
        protected void Initialize(BasicFileConfiguration userConfig)
        {
            Configuration = userConfig;

            foreach (SettingsProperty setting in ExtentHtmlReporterSettings.Default.Properties)
            {
                var key   = setting.Name;
                var value = ExtentHtmlReporterSettings.Default.Properties[setting.Name].DefaultValue.ToString();

                var c = new Config(key, value);
                MasterConfig.AddConfig(c);
            }
        }