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