Inheritance: IProjectParser
Example #1
0
        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);
        }
Example #2
0
        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);
        }