Exemple #1
0
        public string Evaluate(string expression)
        {
            VoltEngine   Volt   = VoltEngine.Parser("${" + expression + "}");
            StringWriter writer = new StringWriter();

            Volt.Process(writer);
            return(writer.ToString());
        }
Exemple #2
0
 public static VoltEngine Parser(string tmpl)
 {
     return(VoltEngine.Parser("", tmpl));
 }