private List <FileSystemPath> CollectAllFilesToAnalyze(ISolution solution) { List <FileSystemPath> files_to_analyze = new List <FileSystemPath>(); SimianProjectVisitor visitor = new SimianProjectVisitor(files_to_analyze); visitor.AddExcludeSpecs(SimianOptions.Instance.SpecsToExclude); visitor.AddIncludeSpecs(SimianOptions.Instance.SpecsToInclude); foreach (IProject project in solution.GetAllProjects()) { project.Accept(visitor); } return(files_to_analyze); }
private List<FileSystemPath> CollectAllFilesToAnalyze(ISolution solution) { List<FileSystemPath> files_to_analyze = new List<FileSystemPath>(); SimianProjectVisitor visitor = new SimianProjectVisitor(files_to_analyze); visitor.AddExcludeSpecs(SimianOptions.Instance.SpecsToExclude); visitor.AddIncludeSpecs(SimianOptions.Instance.SpecsToInclude); foreach (IProject project in solution.GetAllProjects()) { project.Accept(visitor); } return files_to_analyze; }