/// <summary> /// <para> /// Initializes a new instance of <see cref='.ItemList'/> based on another <see cref='.ItemList'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.ItemList'/> from which the contents are copied /// </param> public ItemList(ItemList val) { this.AddRange(val); }
public ItemEnumerator(ItemList mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='.ItemList'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.ItemList'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='.ItemList.Add'/> public void AddRange(ItemList val) { for (int i = 0; i < val.Count; i++) { this.Add(val[i]); } }