Beispiel #1
0
 public Vlucht(int vluchtID, string bestemming, int duurtijd, VliegMaatschappij vliegMaatschappij, LuchtVaartuig toestel, IList<VliegendPersoneelslid> personeel)
 {
     this.VluchtID = vluchtID;
     this.Bestemming = bestemming;
     this.Duurtijd = duurtijd;
     this.VliegMaatschappij = vliegMaatschappij;
     this.Toestel = toestel;
     this.Personeel = personeel;
 }
 public void RemoveLuchtVaartuig(LuchtVaartuig luchtVaartuig)
 {
     Vloot.Remove(luchtVaartuig);
 }
 public void AddLuchtVaartuig(LuchtVaartuig luchtVaartuig)
 {
     if (!Vloot.Contains(luchtVaartuig)) Vloot.Add(luchtVaartuig);
 }