Exemplo n.º 1
0
        public static void ReplaceChildren(this HTMLElement self, IEnumerable <HTMLElement> newChildren)
        {
            var x = newChildren.ToList(); //to assure atomicity

            self.RemoveAllChildren();
            self.AppendAllChildren(x);
        }