Inheritance: RazorGenerator.Templating.RazorTemplateBase
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
 }