コード例 #1
0
 public Enumerator(TagAttributeCollection collection)
 {
     this.wrapped = ((CollectionBase)collection).GetEnumerator();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the TagAttributeList class, containing elements
 /// copied from another instance of TagAttributeList
 /// </summary>
 /// <param name="items">
 /// The TagAttributeList whose elements are to be added to the new TagAttributeList.
 /// </param>
 public TagAttributeCollection(TagAttributeCollection items)
 {
     this.AddRange(items);
 }
コード例 #3
0
 /// <summary>
 /// Adds the elements of another TagAttributeList to the end of this TagAttributeList.
 /// </summary>
 /// <param name="items">
 /// The TagAttributeList whose elements are to be added to the end of this TagAttributeList.
 /// </param>
 public virtual void AddRange(TagAttributeCollection items)
 {
     foreach (TagAttribute item in items)
     {
         this.List.Add(item);
     }
 }