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> /// Creates an extraction for the current directory /// and adds it to the list of all extractions. /// </summary> /// <param name="dir">The directory of the extraction.</param> /// <returns>The extraction.</returns> void CreateExtraction(string dir) { projectExtraction = new Extraction(dir); }