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