Пример #1
0
 protected static void AddNodeBefore(HtmlElement parent, HtmlNode nextNode, HtmlNode node)
 {
     node.RemoveFromParent();
     node.Parent = parent;
     parent._nodes.AddBefore(nextNode, node);
 }
Пример #2
0
 protected static void AddNodeBefore(HtmlElement parent, HtmlNode nextNode, HtmlNode node)
 {
     node.RemoveFromParent();
     node.Parent = parent;
     parent._nodes.AddBefore(nextNode, node);
 }
Пример #3
0
 protected static void AddNodeAfter(HtmlElement parent, HtmlNode previousNode, HtmlNode node)
 {
     node.RemoveFromParent();
     node.Parent = parent;
     parent._nodes.AddAfter(previousNode, node);
 }
Пример #4
0
 protected static void AddNodeAfter(HtmlElement parent, HtmlNode previousNode, HtmlNode node)
 {
     node.RemoveFromParent();
     node.Parent = parent;
     parent._nodes.AddAfter(previousNode, node);
 }