Beispiel #1
0
 public void Remove(AMRelation relation)
 {
     relations.Remove(relation.Id);
     relation.Dispose();
     if (relation.Id + 1 == nextId)
     {
         nextId--;
     }
 }
Beispiel #2
0
 public bool Contains(AMRelation relation)
 {
     return(relation.Owner == this && relations.ContainsKey(relation.Id));
 }