MoveChildrenTo() public method

Moves all of the children of this Element to another element
public MoveChildrenTo ( Element destinationElement ) : void
destinationElement Element
return void
 private Element ExpectedSpan(Element element)
 {
     Element spanExpected = new Element("del").AddStyleClass("expected");
     element.MoveChildrenTo(spanExpected);
     spanExpected.AppendNonBreakingSpaceIfBlank();
     Element spanFailure = new Element("span").AddStyleClass("failure");
     spanFailure.AppendChild(spanExpected);
     return spanFailure;
 }