Ejemplo n.º 1
0
        public void ProcessCommand(string startWord, string endWord, string outputFilePath)
        {
            var shortestPath =
                _shortestPathCalculator.GetShortestPathFromStartWordToEndWord(startWord, endWord,
                                                                              _dictionaryProvider.GetWords());

            _resultProcessor.ProcessResults(outputFilePath, shortestPath);
        }