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