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); }
public void AddAddInfo(AddInfo addInfo) { Contexts.Add(addInfo); Count++; }