public static string Render <T>(RazorTemplateBase template, T model) { ((dynamic)template).Model = model; return(template.TransformText()); }
public static string Render <T>(RazorTemplateBase template, T model, GeneratorConfig config) { ((dynamic)template).Model = model; ((dynamic)template).Config = config; return(template.TransformText()); }