Esempio n. 1
0
 public static void WithNHaml(this ViewConfiguration config)
 {
     config.ViewEngineExtension = "haml";
     config.Engine = new NHamlTemplateEngine();
 }
Esempio n. 2
0
 public static void WithRazor(this ViewConfiguration config)
 {
     config.ViewEngineExtension = NinaRazorTemplateEngine.EXT;
     config.Engine = new NinaRazorTemplateEngine();
 }
Esempio n. 3
0
 public static void WithNDjango(this ViewConfiguration config)
 {
     config.ViewEngineExtension = "dj";
     config.Engine = new DjangoEngine();
 }
Esempio n. 4
0
 public static void WithSpark(this ViewConfiguration config)
 {
     config.ViewEngineExtension = "spark";
     config.Engine = new SparkTemplateEngine();
 }