Beispiel #1
0
        protected virtual TestDynamicConfigurationSource CreateDynamicSource()
        {
            ConfigurationSourceConfig   sourceConfig = ConfigurationSources.NewConfig("test-source");
            Dictionary <string, string> properties   = new Dictionary <string, string>();

            properties["exist"]  = "ok.2";
            properties["exist2"] = "ok2.2";
            properties["exist3"] = "ok3.2";
            properties["exist4"] = "ok4.2";
            TestDynamicConfigurationSource source = new TestDynamicConfigurationSource(sourceConfig, properties);

            Console.WriteLine("source config: " + sourceConfig + "\n");
            return(source);
        }
Beispiel #2
0
        public TestDynamicConfigurationSource(ConfigurationSourceConfig config, Dictionary <String, String> properties)

            : base(config, properties)
        {
        }