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