コード例 #1
0
 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);
 }
コード例 #2
0
 public WordMatcher(string startWord, string endWord, TextFileReader fileReader)
 {
     this.startWord  = startWord.ToUpper();
     this.endWord    = endWord.ToUpper();
     this.fileReader = fileReader;
 }