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