Beispiel #1
0
        public void AddWord(string strSpell, AddInfo addInfo)
        {
            WordVO wordVO = null;

            if (!Words.ContainsKey(strSpell))
            {
                wordVO = new WordVO(strSpell);
                Words.Add(strSpell, wordVO);
            }
            else
            {
                wordVO = Words[strSpell];
            }
            wordVO.AddAddInfo(addInfo);
        }
Beispiel #2
0
 public void AddAddInfo(AddInfo addInfo)
 {
     Contexts.Add(addInfo);
     Count++;
 }