internal void Add(ThesaurusItem Item) { if (Item.WordRelation == this.Relationship) { WordItem item = new WordItem(Item.Word); Add(item); } }
public void AddItem(ThesaurusItem Item) { if (Item != null) { if (!SpeechParts.ContainsKey(Item.SpeechPart)) { SpeechParts.Add( Item.SpeechPart, new PartOfSpeech(Item.SpeechPart) ); } SpeechParts[Item.SpeechPart].AddItem(Item); } }
public void AddItem(ThesaurusItem Item) { if (Item != null && Item.SpeechPart == Part) { if (!Relations.ContainsKey(Item.WordRelation)) { Relations.Add( Item.WordRelation, new WordRelation(Item.WordRelation) ); } Relations[Item.WordRelation].Add(Item); } }
public Entry(ThesaurusItem Item, List <ThesaurusItem> Items) { this.Item = Item; AddItems(Items); }
public Entry(ThesaurusItem Item) { this.Item = Item; }