/// <summary> /// Add a pre-prepared set of boxes all at once /// </summary> /// <param name="boxes"></param> public void AddBoxes(BoxList boxes) { if (boxes == null) { throw new ArgumentNullException(); } var tmpBoxes = boxes.GetContent().Cast <Box>(); foreach (var box in tmpBoxes) { AddBox(box); } }