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