public InputHandler(string dictionaryName, string resultName, string startWord, string endWord) { this.resultName = resultName; this.endWord = endWord.ToUpper(); this.startWord = startWord.ToUpper(); fileReader = new TextFileReader(dictionaryName, 4); }
public WordMatcher(string startWord, string endWord, TextFileReader fileReader) { this.startWord = startWord.ToUpper(); this.endWord = endWord.ToUpper(); this.fileReader = fileReader; }