Beispiel #1
0
        public virtual ILayoutElementCollection GetClone()
        {
            LayoutElementCollection Clone = new LayoutElementCollection();

            InitializeClone(Clone);
            return(Clone);
        }
Beispiel #2
0
 protected virtual void InitializeClone(LayoutElementCollection clone)
 {
     foreach (ILayoutElement Item in this)
     {
         clone.Add(Item.GetClone());
     }
 }