Пример #1
0
        public async Task GenerateCode(CommandLineGeneratorModel model)
        {
            var generator = new ScriptsGenerator(_webProject, _dataProject);
            await generator.Generate(model);

            if (Debugger.IsAttached)
            {
                Console.WriteLine("Press Enter to quit");
                Console.Read();
            }
        }
Пример #2
0
 public GenerationOutputContext(ScriptsGenerator generator, string outputDir)
 {
     Generator = generator;
     OutputDir = outputDir;
 }