예제 #1
0
 static void Main(string[] args)
 {
     Arguments arguments = new Arguments(args);
     Action a = null;
     switch (arguments.Action)
     {
         case "config":
             a = new Config();
             break;
         case "counters":
             a = new Counters();
             break;
     }
     if (a != null)
     {
         a.Execute(arguments);
     }
 }
예제 #2
0
 static Config()
 {
     instance = Configuration.LoadConfigurationFile<Config>("ModulesConfig.xml");
 }