public ChildTagBuilder(SpecHierarchyBuilder builder, HtmlTag parent) { if (parent.TagName() != "ul") { throw new ArgumentOutOfRangeException("Only ul tags are valid here: \n" + parent.ToString()); } _builder = builder; _parent = parent; }
public JasminePages(SpecificationGraph specifications, SpecHierarchyBuilder builder, SpecAssetRequirements requirements, FubuHtmlDocument document) { _specifications = specifications; _builder = builder; _requirements = requirements; _document = document; _document.Body.Append(new HtmlTag("div").Text(_header).Encoded(false)); }