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; }
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); }