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