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