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