Esempio n. 1
0
 public DiagramGenerator(DevArchSolution solution)
 {
     _solution = solution;
     _cachedTree = new Lazy<SolutionNode>(() => SemanticTreeBuilder.AnalyseSolution(_solution));
 }
Esempio n. 2
0
 public static SolutionNode AnalyseSolution(DevArchSolution solution)
 {
     var tree = solution.SolutionTree;
     AddAllItemsInSolutionToTree(solution.RoslynSolution, ref tree);
     return tree;
 }