/// <summary> /// /// Adds the contents of another <see cref='Hanselman.CST352.ProcessCollection'/> to the end of the collection. /// /// </summary> /// <param name='value'> /// A <see cref='Hanselman.CST352.ProcessCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// None. /// </returns> /// <seealso cref='Hanselman.CST352.ProcessCollection.Add'/> public void AddRange(ProcessCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add(value[i]); } }
/// <summary> /// /// Initializes a new instance of <see cref='Hanselman.CST352.ProcessCollection'/> based on another <see cref='Hanselman.CST352.ProcessCollection'/>. /// /// </summary> /// <param name='value'> /// A <see cref='Hanselman.CST352.ProcessCollection'/> from which the contents are copied /// </param> public ProcessCollection(ProcessCollection value) { this.AddRange(value); }
/// <summary> /// Public constructor for an ProcessEnumerator /// </summary> /// <param name="mappings">The <see cref="ProcessCollection"/>we are going to iterate over</param> public ProcessEnumerator(ProcessCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }