public string Evaluate(string expression)
 {
     return(_jsEngine.Evaluate <string>(expression));
 }
Esempio n. 2
0
        public TResult Evaluate <TResult>(string code)
        {
            object result = _scriptEngine.Evaluate(code);

            return(result == null ? default(TResult) : (TResult)result);
        }
Esempio n. 3
0
 protected string Evaluate(string expression)
 {
     return(_jsEngine.Evaluate <string>(expression));
 }