Exemplo n.º 1
0
 static NancyViewEngineTests()
 {
     if (!VeilStaticConfiguration.IsParserRegistered("handlebars"))
     {
         VeilStaticConfiguration.RegisterParser(new HandlebarsTemplateParserRegistration());
     }
     if (!VeilStaticConfiguration.IsParserRegistered("supersimple"))
     {
         VeilStaticConfiguration.RegisterParser(new SuperSimpleParserRegistration());
     }
 }
Exemplo n.º 2
0
 static VeilBootstrapper()
 {
     VeilStaticConfiguration.RegisterParser(new SuperSimpleParserRegistration());
 }