public void Setup()
        {
            var solutionLoader = MockRepository.GenerateStub<ISolution>();
            project = Helper.GetMockProjectLoader(projectIdentifier, projectReference);

            solutionLoader.Stub(s => s.SolutionName).Return("Solution");
            solutionLoader.Stub(s => s.Projects).Return(new []{project});

            solution = new Solution(solutionLoader);
        }
 public void PreProcessGraph(GraphvizGraph formatter, Solution solutionLoader)
 {
     //formatter.Ratio = GraphvizRatioMode.Fill;
     formatter.PageSize = new Size(300, 300);
 }
        private void LoadSolution()
        {
            lbProjects.Items.Clear();

            if (FilenameIsValid() == false) return;

            SolutionLoader loader = GetLoader();
            _currentSolution = new Solution(loader);

            foreach (var project in _currentSolution.Projects)
            {
                lbProjects.Items.Add(project);
            }
        }
 public QuickGraphProcessor(Solution solution)
 {
     _solution = solution;
 }