public string Read(string path) { path = Path.GetFullPath(path); if (!_cache.ContainsKey(path)) { _cache[path] = _projectAccess.Read(path); } return(_cache[path]); }
private XDocument GetFileContent(string projectPath) { var text = _projectAccess.Read(projectPath); return(XDocument.Parse(text)); }