public string Read(string path)
        {
            path = Path.GetFullPath(path);
            if (!_cache.ContainsKey(path))
            {
                _cache[path] = _projectAccess.Read(path);
            }

            return(_cache[path]);
        }
Beispiel #2
0
        private XDocument GetFileContent(string projectPath)
        {
            var text = _projectAccess.Read(projectPath);

            return(XDocument.Parse(text));
        }