Наследование: RazorGenerator.Templating.RazorTemplateBase
Пример #1
0
 public static RazorGenerator.Templating.RazorTemplateBase GetEntityRowView(GeneratorConfig config)
 {
     RazorGenerator.Templating.RazorTemplateBase entityRow;
     if (config.RowFieldsSurroundWithRegion)
         entityRow = new Views.EntityRowWithRegion();
     else
         entityRow = new Views.EntityRow();
     return entityRow;
 }
Пример #2
0
 public static RazorGenerator.Templating.RazorTemplateBase GetEntityRowView(GeneratorConfig config)
 {
     RazorGenerator.Templating.RazorTemplateBase entityRow;
     if (config.RowFieldsSurroundWithRegion)
     {
         entityRow = new Views.EntityRowWithRegion();
     }
     else
     {
         entityRow = new Views.EntityRow();
     }
     return(entityRow);
 }