Beispiel #1
0
 internal void Add(ThesaurusItem Item)
 {
     if (Item.WordRelation == this.Relationship)
     {
         WordItem item = new WordItem(Item.Word);
         Add(item);
     }
 }
Beispiel #2
0
 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);
     }
 }
Beispiel #3
0
 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);
     }
 }
Beispiel #4
0
 public Entry(ThesaurusItem Item, List <ThesaurusItem> Items)
 {
     this.Item = Item;
     AddItems(Items);
 }
Beispiel #5
0
 public Entry(ThesaurusItem Item)
 {
     this.Item = Item;
 }