/// <summary> /// Renders the loaded template without session dictionary (parameters of the template). /// </summary> /// <returns></returns> public string RenderTemplate() { return(TemplateRenderer.RenderTemplate(this.TemplateType, new Dictionary <string, object>())); }
/// <summary> /// Renders the loaded template with specified session dictionary (parameters of the template). /// </summary> /// <param name="sessionDictionary"></param> /// <returns></returns> public string RenderTemplate(Dictionary <string, object> sessionDictionary) { return(TemplateRenderer.RenderTemplate(this.TemplateType, sessionDictionary)); }