/// <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); }
/// <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); } }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(LayoutRendererCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }