예제 #1
0
 /// <summary>
 /// Adds the contents of another <see cref="NodeImageCollection">NodeImageCollection</see> to the end of the collection.
 /// </summary>
 /// <param name="value">A <see cref="NodeImageCollection">NodeImageCollection</see> containing the objects to add to the collection. </param>
 public void AddRange(NodeImageCollection value)
 {
     for (int i = 0; i <= value.Count - 1; i++)
     {
         Add((NodeImage)value.List[i]);
     }
 }
 /// <summary>
 /// Adds the contents of another <see cref="NodeImageCollection">NodeImageCollection</see> to the end of the collection.
 /// </summary>
 /// <param name="value">A <see cref="NodeImageCollection">NodeImageCollection</see> containing the objects to add to the collection. </param>
 public void AddRange(NodeImageCollection value)
 {
     for (int i = 0; i <= value.Count - 1; i++)
     {
         Add((NodeImage)value.List[i]);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NodeImageCollection">NodeImageCollection</see> class containing the elements of the specified source collection.
 /// </summary>
 /// <param name="value">A <see cref="NodeImageCollection">NodeImageCollection</see> with which to initialize the collection.</param>
 public NodeImageCollection(NodeImageCollection value)
     : base()
 {
     AddRange(value);
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NodeImageCollection">NodeImageCollection</see> class containing the elements of the specified source collection.
 /// </summary>
 /// <param name="value">A <see cref="NodeImageCollection">NodeImageCollection</see> with which to initialize the collection.</param>
 public NodeImageCollection(NodeImageCollection value)
     : base()
 {
     AddRange(value);
 }