Пример #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Adds the contents of another <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> to the end of the collection.
 /// </summary>
 /// <param name='value'>
 /// A <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection.Add'/>
 /// ------------------------------------------------------------------------------------
 public void AddRange(XmlAssemblyCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         this.Add(value[i]);
     }
 }
Пример #2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Initializes a new instance of <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> based on another <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/>.
		/// </summary>
		/// <param name='value'>
		/// A <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> from which the contents are copied
		/// </param>
		/// ------------------------------------------------------------------------------------
		public XmlAssemblyCollection(XmlAssemblyCollection value)
		{
			this.AddRange(value);
		}
Пример #3
0
			/// --------------------------------------------------------------------------------
			/// <summary>
			/// Initializes a new instance of <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection.XmlAssemblyEnumerator'/>.
			/// </summary>
			/// <param name='mappings'>The <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> that we enumerate</param>
			/// --------------------------------------------------------------------------------
			public XmlAssemblyEnumerator(XmlAssemblyCollection mappings)
			{
				this.temp = ((IEnumerable)(mappings));
				this.baseEnumerator = temp.GetEnumerator();
			}
Пример #4
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Adds the contents of another <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> to the end of the collection.
		/// </summary>
		/// <param name='value'>
		/// A <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> containing the objects to add to the collection.
		/// </param>
		/// <seealso cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection.Add'/>
		/// ------------------------------------------------------------------------------------
		public void AddRange(XmlAssemblyCollection value)
		{
			for (int i = 0; (i < value.Count); i = (i + 1))
			{
				this.Add(value[i]);
			}
		}
Пример #5
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> based on another <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/>.
 /// </summary>
 /// <param name='value'>
 /// A <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> from which the contents are copied
 /// </param>
 /// ------------------------------------------------------------------------------------
 public XmlAssemblyCollection(XmlAssemblyCollection value)
 {
     this.AddRange(value);
 }
Пример #6
0
 /// --------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection.XmlAssemblyEnumerator'/>.
 /// </summary>
 /// <param name='mappings'>The <see cref='SIL.FieldWorks.Build.Tasks.XmlAssemblyCollection'/> that we enumerate</param>
 /// --------------------------------------------------------------------------------
 public XmlAssemblyEnumerator(XmlAssemblyCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }