Ejemplo n.º 1
0
        public IList <Word> checkAllWords()
        {
            Language     language  = Language.Nederlands;
            IList <Word> wordsList = new List <Word>();

            foreach (Word text in fileRepository.ReadAllWords())
            {
                string checkedWord = checkWord(text.word);
                if (checkedWord != "")
                {
                    Word word = new Word(checkedWord, checkedWord.Length, language.ToString());
                    wordsList.Add(word);
                }
            }
            return(wordsList);
        }