Esempio n. 1
0
 public TemplateCompiler(TemplateCompilationParameters templateCompilationParameters)
 {
     CompilationParameters = templateCompilationParameters ?? TemplateCompilationParameters.CSharp;
     CodeGeneratorOptions = new CodeGeneratorOptions
                                {
                                    BlankLinesBetweenMembers = false,
                                    BracingStyle = "C"
                                };
 }
Esempio n. 2
0
 public TemplateCompiler(TemplateCompilationParameters templateCompilationParameters)
 {
     CompilationParameters = templateCompilationParameters ?? TemplateCompilationParameters.CSharp;
     CodeGeneratorOptions  = new CodeGeneratorOptions
     {
         BlankLinesBetweenMembers = false,
         BracingStyle             = "C"
     };
 }