예제 #1
0
            public void MutualLink(Concept c1, Concept c2)
            {
                c1.Relate(c2);
                c2.Relate(c1);
                var relation = new Relation(c1, c2)
                {
                    Bidirectional = true
                };

                _relations.Add(relation);
            }
예제 #2
0
 public void Link(Concept concept1, Concept concept2)
 {
     concept1.Relate(concept2);
     _relations.Add(new Relation(concept1, concept2));
 }