/// <summary> /// Initializes a new instance of the PCameraList class that contains cameras copied /// from the specified list and that has the same initial capacity as the number /// of cameras copied. /// </summary> /// <param name="list">The list whose cameras are copied to the new list.</param> public PCameraList(PCameraList list) { foreach (PCamera camera in list) { List.Add(camera); } }
/// <summary> /// Adds the cameras of the given list to the end of this list. /// </summary> /// <param name="list"> /// The list whose cameras should be added to the end of this list. /// </param> public void AddRange(PCameraList list) { InnerList.AddRange(list); }