Example #1
0
 public int TeamLane(int team)
 => LaneAssignments.Single(item => item.Teams.Contains(team)).Number;
Example #2
0
 public void AddLanes(params Lane[] lanes)
 => LaneAssignments.AddRange(lanes);
Example #3
0
        public IEnumerable <int> TeamPairings(int team)
        {
            var lane = LaneAssignments.Single(item => item.Teams.Contains(team));

            return(lane.Teams.Where(item => item != team));
        }
Example #4
0
 public void ClearLaneAssignments()
 => LaneAssignments.Clear();