コード例 #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;
            }
コード例 #2
0
ファイル: JasminePages.cs プロジェクト: jemacom/fubumvc
        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));
        }
コード例 #3
0
ファイル: JasminePages.cs プロジェクト: rmueller/fubumvc
        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));
        }
コード例 #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;
            }