/// <summary> /// Adds the elements of another CaseTermCollection to the end of this CaseTermCollection. /// </summary> /// <param name="items"> /// The CaseTermCollection whose elements are to be added to the end of this CaseTermCollection. /// </param> public virtual void AddRange(CaseTermCollection items) { foreach (CaseTerm item in items) { this.List.Add(item); } }
/// <summary> /// Initializes a new instance of the CaseTermCollection class, containing elements /// copied from another instance of CaseTermCollection /// </summary> /// <param name="items"> /// The CaseTermCollection whose elements are to be added to the new CaseTermCollection. /// </param> public CaseTermCollection(CaseTermCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(CaseTermCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }