Пример #1
0
        private string GenerateImport(CoreImport obj, CoreModel model, List <GeneratorResult> result)
        {
            CeusDLGenerator generator = new CeusDLGenerator(obj);

            generator.GenerateCode(result);
            return($"import \"{obj.Path.Substring(obj.BaseDirectory.Length+1).Replace(System.IO.Path.DirectorySeparatorChar, '/')}\"\n");
        }
Пример #2
0
 public CeusDLGenerator(CoreImport model)
 {
     this.model = new CoreModel(model);
 }
 public GraphvizCeusDLGenerator(CoreImport model, bool generateSlim)
 {
     this.generateSlim = generateSlim;
     this.model        = new CoreModel(model);
     this.helper       = new CeusDLGenerator(model);
 }