/// <summary> /// Adds the contents of another <see cref="ModuleRequireCollection">ModuleRequireCollection</see> to the end of the collection. /// </summary> /// <param name="value">A <see cref="ModuleRequireCollection">ModuleRequireCollection</see> containing the Components to add to the collection. </param> public void AddRange(ModuleRequireCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add((ModuleRequire)value.List[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="ModuleRequireCollection">ModuleRequireCollection</see> class containing the elements of the specified source collection. /// </summary> /// <param name="value">A <see cref="ModuleRequireCollection">ModuleRequireCollection</see> with which to initialize the collection.</param> public ModuleRequireCollection(ModuleRequireCollection value) { this.AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="ModuleRequireCollectionEnumerator">ModuleRequireCollectionEnumerator</see> class referencing the specified <see cref="ModuleRequireCollection">ModuleRequireCollection</see> object. /// </summary> /// <param name="mappings">The <see cref="ModuleRequireCollection">ModuleRequireCollection</see> to enumerate.</param> public ModuleRequireCollectionEnumerator(ModuleRequireCollection mappings) { _temp = ((IEnumerable)(mappings)); _enumerator = _temp.GetEnumerator(); }