/// <summary>
 /// Runs the template with the specified cacheName.
 /// </summary>
 /// <param name="cacheName">The name of the template in cache.  The template must be in cache.</param>
 /// <param name="model">The model for the template or NULL if there is no model.</param>
 /// <param name="viewBag">The initial ViewBag contents NULL for an empty ViewBag.</param>
 /// <returns>The string result of the template.</returns>
 public string Run(string cacheName, object model, DynamicViewBag viewBag)
 {
     return(_proxy.Run(cacheName, model, viewBag));
 }
 /// <summary>
 /// Runs the template with the specified name.
 /// </summary>
 /// <param name="template">The template to run.</param>
 /// <param name="viewBag">The ViewBag contents or NULL for an initially empty ViewBag.</param>
 /// <returns>The string result of the template.</returns>
 public string Run(ITemplate template, DynamicViewBag viewBag)
 {
     return(_proxy.Run(template, viewBag));
 }
 /// <summary>
 /// Creates a new <see cref="ExecuteContext"/> used to tracking templates.
 /// </summary>
 /// <param name="viewBag">The view bag.</param>
 /// <returns>The instance of <see cref="ExecuteContext"/></returns>
 ExecuteContext ITemplateService.CreateExecuteContext(DynamicViewBag viewBag = null)
 {
     throw new NotSupportedException("This operation is not supported directly by the IsolatedTemplateService.");
 }