예제 #1
0
 public static void removeEvents(Event event1)
 {
     eventList.Remove(event1);
     foreach (EventDiet ev in event1.getConnector())
     {
         EventDiet.removeConnector(ev);
     }
 }
예제 #2
0
 public static bool removeConnector(EventDiet eventDiet)
 {
     return(set.Remove(eventDiet));
 }
예제 #3
0
 public ISet <Diet> getDiets()
 {
     return(EventDiet.getDiets(getConnector()));
 }
예제 #4
0
 //asocjacja z atrybutem
 public ISet <EventDiet> getConnector()
 {
     return(EventDiet.getConnector(this));
 }