/// <summary>
        /// Render using default template engine similar to webforms.
        /// </summary>
        /// <returns></returns>
        public static string Render(string script)
        {
            ITemplateEngine engine      = new TemplateEngineDefault(script);
            var             finalscript = engine.Render();

            return(finalscript);
        }
示例#2
0
 /// <summary>
 /// Render using default template engine similar to webforms.
 /// </summary>
 /// <returns></returns>
 public static string Render(string script)
 {
     ITemplateEngine engine = new TemplateEngineDefault(script);
     var finalscript = engine.Render();
     return finalscript;
 }