void FindSolutionScale(string path) { if (path.Contains("Result_dummy.graph") || path.Contains("Result_files.graph")) { m_isBigSolution = true; return; } m_isBigSolution = false; var counter = new ProjectCounter(); counter.Traverse(); int nProjs = counter.GetTotalProjects(); int nProjItems = counter.GetTotalProjectItems(); // Use simple navigation mode for big solution if (nProjItems > 5000 || nProjs > 100) { m_isBigSolution = true; } else { m_isBigSolution = false; } }
void FindSolutionScale() { m_isBigSolution = false; var counter = new ProjectCounter(); counter.Traverse(); int nProjs = counter.GetTotalProjects(); int nProjItems = counter.GetTotalProjectItems(); // Use simple navigation mode for big solution if (nProjItems > 5000 || nProjs > 100) { m_isBigSolution = true; } else { m_isBigSolution = false; } }