Beispiel #1
0
 public BodyNode(IHtmlBodyElement content)
 {
     Content  = content;
     Children = AstHelper.TryCreateNodes(content.ChildNodes.ToList()).ToList();
 }
Beispiel #2
0
 public FontNode(IElement element)
 {
     Children = AstHelper.TryCreateNodes(element.ChildNodes).ToList();
     HexColor = element.GetAttribute("color") ?? string.Empty;
 }
Beispiel #3
0
 public ParagraphNode(IHtmlParagraphElement content)
 {
     Content  = content;
     Children = AstHelper.TryCreateNodes(content.ChildNodes.ToList()).ToList();
 }
Beispiel #4
0
 public OtherNode(INode content)
 {
     Content  = content;
     Children = AstHelper.TryCreateNodes(content.ChildNodes.ToList()).ToList();
 }