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