예제 #1
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);
        }
예제 #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;
 }