상속: 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);
 }