/// <summary> /// Adds the contents of another 'FormSettingsCollection' at the end of this instance. /// </summary> /// <param name='forValue'> /// A 'FormSettingsCollection' containing the objects to add to the collection. /// </param> public void AddRange(FormSettingsCollection forValue) { for (int intCounter = 0; (intCounter < forValue.Count); intCounter = (intCounter + 1)) { this.Add(forValue[intCounter]); } }
/// <summary> /// Enumerator constructor /// </summary> public FormSettingsEnumerator(FormSettingsCollection forMappings) { this.iEnLocal = ((System.Collections.IEnumerable)(forMappings)); this.iEnBase = iEnLocal.GetEnumerator(); }
/// <summary> /// Initializes a new instance of 'FormSettingsCollection' based on an already existing instance. /// </summary> /// <param name='forValue'> /// A 'FormSettingsCollection' from which the contents is copied /// </param> public FormSettingsCollection(FormSettingsCollection forValue) { this.AddRange(forValue); }