public object EvaluateTemplate(string templateName, IMemory memory) { var evaluator = new Evaluator(Templates, this.expressionEngine); return(evaluator.EvaluateTemplate(templateName, new CustomizedMemory(memory))); }