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