コード例 #1
0
        public void SetUp()
        {
            var library = new DefaultHtmlConventions().Library;

            var namingConventions = new DefaultElementNamingConvention();

            var activators = new ElementIdActivator(namingConventions);

            theTemplates = new TemplateWriter(new ActiveProfile(), library, new TagRequestBuilder(new []{activators}));
        }
コード例 #2
0
ファイル: TemplateWriterTester.cs プロジェクト: xeno3/fubumvc
        public void SetUp()
        {
            var library = new DefaultHtmlConventions().Library;

            var namingConventions = new DefaultElementNamingConvention();

            var activators = new ElementIdActivator(namingConventions);

            theTemplates = new TemplateWriter(new ActiveProfile(), library, new TagRequestBuilder(new [] { activators }));
        }