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