public Race() : base() { competitors = new CompetitorCollection(); competitorGroups = new CompetitorGroupCollection(); flights = new FlightCollection(); date = new DateTime(); map = new Map(); takeOffGate = new Gate(); defaultRunway = true; defaultTargetFlightDuration = new TimeSpan(0); timeToStartGateDefault = new TimeSpan(0); timeToStartGateAlternative = new TimeSpan(0); }
public void AddRange(CompetitorGroupCollection itemCollection) { foreach (CompetitorGroup item in itemCollection) { items.Add(item); } }