示例#1
0
        public void SetProject(FileInfo fileInfo)
        {
            var parser = new ProjParserService();

            var refs = parser.GetReferences(fileInfo.FullName);

            if (refs == null)
            {
                return;
            }

            SetReferences(refs);
        }
示例#2
0
        public void SetProject(FileInfo fileInfo)
        {
            var parser = new ProjParserService();

            var tree = parser.GetContentAsTree(fileInfo.FullName);

            if (tree == null)
            {
                return;
            }

            SetTree(tree);
            SetCurrentCsProjFile(fileInfo);
        }