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