public void AddOutRelation(IDesignRelation or) { if (!OutRelationList.Contains(or)) { OutRelationList.Add(or); } }
public void RemoveRelation(IDesignRelation dr) { if (OutRelationList.Contains(dr)) { OutRelationList.Remove(dr); } if (InRelationList.Contains(dr)) { InRelationList.Remove(dr); } }