示例#1
0
 /// <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>()));
 }
示例#2
0
 /// <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));
 }