Пример #1
0
 /// <summary>
 /// Initializes a new instance of the LayoutRendererCollection class, containing elements
 /// copied from another instance of LayoutRendererCollection
 /// </summary>
 /// <param name="items">
 /// The LayoutRendererCollection whose elements are to be added to the new LayoutRendererCollection.
 /// </param>
 public LayoutRendererCollection(LayoutRendererCollection items)
 {
     this.AddRange(items);
 }
Пример #2
0
 /// <summary>
 /// Adds the elements of another LayoutRendererCollection to the end of this LayoutRendererCollection.
 /// </summary>
 /// <param name="items">
 /// The LayoutRendererCollection whose elements are to be added to the end of this LayoutRendererCollection.
 /// </param>
 public virtual void AddRange(LayoutRendererCollection items)
 {
     foreach (LayoutRenderer item in items)
     {
         this.List.Add(item);
     }
 }
Пример #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(LayoutRendererCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }