Example #1
0
 /// <summary>
 /// Evaluates an expression
 /// </summary>
 /// <typeparam name="T">Type of result</typeparam>
 /// <param name="expression">JS expression</param>
 /// <param name="documentName">Document name</param>
 /// <returns>Result of the expression</returns>
 public virtual T Evaluate <T>(string expression, string documentName)
 {
     return(InnerEngine.Evaluate <T>(expression, documentName));
 }
Example #2
0
 /// <summary>
 /// Evaluates an expression
 /// </summary>
 /// <param name="expression">JS expression</param>
 /// <param name="documentName">Document name</param>
 /// <returns>Result of the expression</returns>
 public virtual object Evaluate(string expression, string documentName)
 {
     return(InnerEngine.Evaluate(expression, documentName));
 }
Example #3
0
 /// <summary>
 /// Evaluates an expression
 /// </summary>
 /// <typeparam name="T">Type of result</typeparam>
 /// <param name="expression">JS expression</param>
 /// <returns>Result of the expression</returns>
 public virtual T Evaluate <T>(string expression)
 {
     return(InnerEngine.Evaluate <T>(expression));
 }
Example #4
0
 /// <summary>
 /// Evaluates an expression
 /// </summary>
 /// <param name="expression">JS expression</param>
 /// <returns>Result of the expression</returns>
 public virtual object Evaluate(string expression)
 {
     return(InnerEngine.Evaluate(expression));
 }