示例#1
0
 public void TestModuleGeneration()
 {
     var gen             = new DirectiveTemplatesGenerator();
     var files           = gen.GetFiles(GetFilePath());
     var file            = files.FirstOrDefault();
     var generatedmodule = gen.GenerateDirectiveTemplateModule(file.Key, file.Value);
 }
示例#2
0
 public void TestJSFormatting()
 {
     var gen       = new DirectiveTemplatesGenerator();
     var files     = gen.GetFiles(GetFilePath());
     var file      = files.FirstOrDefault();
     var formatted = gen.FormatHtmlAsJavascriptString(file.Value);
 }
示例#3
0
 public void TestFileGeneration()
 {
     var gen           = new DirectiveTemplatesGenerator();
     var files         = gen.GetFiles(GetFilePath());
     var generatedfile = gen.GenerateDirectiveTemplateFile("as.temps", files);
 }