public Project GetProject(string fullpath) { lock (_projects) { return _projects.FirstOrDefault(x => x.File.Equals(fullpath)); } }