示例#1
0
        static void Main(string[] args)
        {
            CommonBuilder builder = new CommonBuilder();

            builder.Run();

            Console.WriteLine("OK");
            Thread.Sleep(2000);
        }
        static void Main(string[] args)
        {
            string configString             = File.ReadAllText("ProjectConfig.json");
            List <ProjectConfig> collection = JsonConvert.DeserializeObject <List <ProjectConfig> >(configString);

            foreach (ProjectConfig item in collection)
            {
                CommonBuilder builder = new CommonBuilder(item);
                builder.Run();
            }

            Console.WriteLine("OK");
        }