/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }