예제 #1
0
 /// <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]);
     }
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <summary>
 ///     Enumerator constructor
 /// </summary>
 public RecentFileEnumerator(RecentFileCollection recMappings)
 {
     this.iEnLocal = ((System.Collections.IEnumerable)(recMappings));
     this.iEnBase = iEnLocal.GetEnumerator();
 }
예제 #4
0
 /// <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]);
     }
 }
예제 #5
0
 /// <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);
 }
예제 #6
0
 /// <summary>
 ///     Enumerator constructor
 /// </summary>
 public RecentFileEnumerator(RecentFileCollection recMappings)
 {
     this.iEnLocal = ((System.Collections.IEnumerable)(recMappings));
     this.iEnBase  = iEnLocal.GetEnumerator();
 }