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