public string Evaluate(string expression) { VoltEngine Volt = VoltEngine.Parser("${" + expression + "}"); StringWriter writer = new StringWriter(); Volt.Process(writer); return(writer.ToString()); }
public static VoltEngine Parser(string tmpl) { return(VoltEngine.Parser("", tmpl)); }