示例#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]);
     }
 }
示例#2
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)
 {
     AddRange(value);
 }
          /// <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);
		}
		/// <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]);
			}
		}