public NestedContainerToken(HtmlCompilerWorker worker, XContainer container) : this() { this.worker = worker; this.container = worker.container; worker.container.Add(container); worker.container = container; }
public XDocument Compile(MarkupNode root) { var worker = new HtmlCompilerWorker(resourceManager, styleManager); return worker.Compile(root); }