Exemple #1
0
        public void ShouldTestConfigurationFile()
        {
            var setting =
                new TracConfiguration(
                    @"C:\Users\Faustino\Documents\Isel\6º Semestre\PS\CodeGarten.Github\CodeGarten\CodeGarten.NET\CodeGarten.Web\Services\Trac.dll.config");

            foreach (var plugin in setting.Plugins.ToList())
            {
                Console.WriteLine("service = {0}, cfgFile= {1}", plugin.Value.Service, plugin.Value.ConfigFile);
            }
        }
Exemple #2
0
 static TracConfig()
 {
     Settings = new TracConfiguration(Path.Combine(ServiceConfig.ServicesDllLocation, "Trac.dll.config"));
     Settings.Load();
 }