Пример #1
0
 public void AddOutRelation(IDesignRelation or)
 {
     if (!OutRelationList.Contains(or))
     {
         OutRelationList.Add(or);
     }
 }
Пример #2
0
 public void RemoveRelation(IDesignRelation dr)
 {
     if (OutRelationList.Contains(dr))
     {
         OutRelationList.Remove(dr);
     }
     if (InRelationList.Contains(dr))
     {
         InRelationList.Remove(dr);
     }
 }