Esempio n. 1
0
        private void GenerateController(string path, ControllerModel c)
        {
            var file = Path.Combine(path, "testGen1.tlc");

            CcolGen.ControllerFileName = file;
            CcolGen.Controller         = c;
            CcolGen.GenerateController();
            var visualGen = new CCOLVisualProjectGenerator();

            visualGen.GenerateVisualStudioProjectFiles(CcolGen, "Visual_2017", 2017);
            TLCGenSerialization.Serialize(file, c);
        }
 private void GenerateVisualProjectCommand_Executed(object prm)
 {
     _ProjectGenerator.GenerateVisualStudioProjectFiles(_Plugin, SelectedVisualProject.Replace(" ", "_"));
     Messenger.Default.Send(new ControllerProjectGeneratedMessage());
 }