public QueueWorkItemEnumerator(QueueWorkItemCollection mappings) { temp = ((mappings)); baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='QueueWorkItemCollection'/>. /// </para> /// </summary> public QueueWorkItemCollection(QueueWorkItemCollection value) { AddRange(value); }
/// <summary> /// <para> /// Adds the contents of another <see cref='QueueWorkItemCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='QueueWorkItemCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='QueueWorkItemCollection.Add'/> public void AddRange(QueueWorkItemCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { Add(value[i]); } }