Esempio n. 1
0
            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;
            }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
            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;
            }