/// <summary>
 /// Compiles and executes the razor template and returns the rendered string.
 /// </summary>
 /// <param name="engine"></param>
 /// <param name="package"></param>
 /// <returns></returns>
 public string CompileAndExecute(DateTime revisionDate, Engine engine, Package package)
 {
     using (TridionRazorTemplate razor = this.GetRazorTemplate(revisionDate, _templateID))
     {
         razor.Initialize(engine, package, Template, _assemblies);
         razor.Execute();
         return(razor.ToString().Trim());
     }
 }
 public WrappedTridionRazorTemplate()
 {
     _tridionRazorTemplate = new TridionRazorTemplate();
 }