/// <summary> /// public method that adds robots (<see cref="IRobot"/> objects) on to the production line. /// </summary> /// <param name="robotsToAdd">An array of type <see cref="IRobot"/> defining the robots to add to the production line.</param> public void AddRobots(params IRobot[] robotsToAdd) { if (robotsToAdd?.Count() > 0) { Robots.AddRange(robotsToAdd); } }