public ProjectIntegrity(ReferenceRegistry wellKnownLibraries, string libDirectory) { var check = new ProjectIntegrityCheck(new FileSystem(), wellKnownLibraries, libDirectory); var parser = new MsBuildProjectParser(new XmlDocumentLoader()); this.referenceIntegrity = new ReferenceIntegrity(check, parser.ParseBinaryReferences); }
public SolutionIntegrity() { var fileSystem = new FileSystem(); var projectParser = new MsBuildProjectParser(new XmlDocumentLoader()); this.createCheckFunction = projectsInSolution => new SolutionIntegrityCheck(fileSystem, projectsInSolution, projectParser); this.solutionParser = new VsSolutionParser(fileSystem); }