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