public static void RenderSparkView <TViewData>(this ResponseContext cxt, TViewData data, string template)
        {
            var    render = new SparkRender();
            string output = render.Render(template, data);

            cxt.WriteHtml(output);
        }
Beispiel #2
0
        internal static void RenderSparkView <TViewData>(this ResponseContext cxt, TViewData data, string template)
        {
            string output = SparkRender.Render(template, data);

            cxt.WriteHtml(output);
        }