Exemple #1
0
        public void CanLoadConfigFromString(string configString)
        {
            //const string configString = ;

            var runtimeConfig = RuntimeConfiguration.LoadFromConfigFile(
                ConfigurationSectionHandler.CreateFromXml(configString));

            Assert.IsNotNull(runtimeConfig);
        }
Exemple #2
0
        public void CanLoadConfigFromConfigFile()
        {
            var runtimeConfig = RuntimeConfiguration.LoadFromConfigFile();

            Assert.IsNotNull(runtimeConfig);
        }
Exemple #3
0
 private static RuntimeConfiguration GetConfiguration()
 {
     return(RuntimeConfiguration.LoadFromConfigFile());
 }