public Analysis(ILogger logger, Options options) { var progressMonitor = new ProgressMonitor(logger); buildAnalysis = new BuildAnalysis(options, progressMonitor); References = buildAnalysis.ReferenceFiles; Extraction = new Extraction(options.SrcDir); Extraction.Sources.AddRange(options.SolutionFile == null ? buildAnalysis.AllSourceFiles : buildAnalysis.ProjectSourceFiles); }
/// <summary> /// Analyse projects/solution and resolves references. /// </summary> /// <param name="options">The build analysis options.</param> public void AnalyseProjects(Options options) { CreateExtraction(options.SrcDir); var progressMonitor = new ProgressMonitor(logger); buildAnalysis = new BuildAnalysis(options, progressMonitor); References = buildAnalysis.ReferenceFiles; projectExtraction.Sources.AddRange(options.SolutionFile == null ? buildAnalysis.AllSourceFiles : buildAnalysis.ProjectSourceFiles); }