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