Exemplo n.º 1
0
        /// <summary>
        ///     <para>
        ///       Adds the contents of another <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> to the end of the collection.
        ///    </para>
        /// </summary>
        /// <param name='value'>
        ///    A <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> containing the objects to add to the collection.
        /// </param>
        /// <returns>
        ///   <para>None.</para>
        /// </returns>
        /// <seealso cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection.Add'/>
        public void AddRange(SideBarTabCollection value)
        {
            CheckDisposed();

            for (int i = 0; (i < value.Count); i = (i + 1))
            {
                this.Add(value[i]);
            }
        }
Exemplo n.º 2
0
		/// <summary>
		///     <para>
		///       Initializes a new instance of <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> based on another <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/>.
		///    </para>
		/// </summary>
		/// <param name='value'>
		///       A <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> from which the contents are copied
		/// </param>
		public SideBarTabCollection(SideBarTabCollection value)
		{
			this.AddRange(value);
		}
Exemplo n.º 3
0
			/// <summary>
			/// Initializes a new instance of SideBarTabEnumerator class
			/// </summary>
			/// <param name="mappings"></param>
			public SideBarTabEnumerator(SideBarTabCollection mappings)
			{
				this.temp = ((IEnumerable)(mappings));
				this.baseEnumerator = temp.GetEnumerator();
			}
Exemplo n.º 4
0
		/// <summary>
		///     <para>
		///       Adds the contents of another <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> to the end of the collection.
		///    </para>
		/// </summary>
		/// <param name='value'>
		///    A <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> containing the objects to add to the collection.
		/// </param>
		/// <returns>
		///   <para>None.</para>
		/// </returns>
		/// <seealso cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection.Add'/>
		public void AddRange(SideBarTabCollection value)
		{
			CheckDisposed();

			for (int i = 0; (i < value.Count); i = (i + 1))
			{
				this.Add(value[i]);
			}
		}
Exemplo n.º 5
0
 /// <summary>
 ///     <para>
 ///       Initializes a new instance of <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> based on another <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/>.
 ///    </para>
 /// </summary>
 /// <param name='value'>
 ///       A <see cref='SIL.FieldWorks.Common.Controls.SideBarTabCollection'/> from which the contents are copied
 /// </param>
 public SideBarTabCollection(SideBarTabCollection value)
 {
     this.AddRange(value);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of SideBarTabEnumerator class
 /// </summary>
 /// <param name="mappings"></param>
 public SideBarTabEnumerator(SideBarTabCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }