public ProcessingStateData ( WorkItemSlotsConfiguration configuration ) { _retrievedItems = WorkItemSlotCollection.Create(configuration); _submittedItems = new WorkItemCollection(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='Tools.Coordination.Core.WorkItemCollection'/>. /// </para> /// </summary> public WorkItemCollection(WorkItemCollection value) { AddRange(value); }
public WorkItemEnumerator(WorkItemCollection mappings) { temp = ((mappings)); baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='WorkItemCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='WorkItemCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='WorkItemCollection.Add'/> public void AddRange(WorkItemCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { Add(value[i]); } }