Build() public method

public Build ( ) : HtmlTags.HtmlTag
return HtmlTags.HtmlTag
コード例 #1
0
        public JavaScriptTestFile Fixtures(Action<FixtureRegistry> configure)
        {
            _library = FixtureLibrary.For(configure);

            var writer = new GrammarWriter(_library);
            HtmlTag templates = writer.Build();
            Add(templates);

            return this;
        }
コード例 #2
0
        public JavaScriptTestFile Fixtures(FixtureLibrary fixtureLibrary)
        {
            _library = fixtureLibrary;

            var writer = new GrammarWriter(_library);
            HtmlTag templates = writer.Build();
            Add(templates);

            return this;
        }