Пример #1
0
        private ProjectFindResult FindByDirectory(string path)
        {
            var results = _filesystem.GetCsProjFiles(path);

            var success = results.Count() == 1;

            return(new ProjectFindResult
            {
                ProjectPath = success ? results.Single() : null,
                IsFound = success,
                Candidates = results,
            });
        }