public string Evaluate(string expression, object row) { try { string s = EvaluationHelper.ExtractExpressionPart(expression); if (s.Length > 0) { this.context.ContextObject = row; return(EvaluateExpression(s)); } } catch (Exception e) { expression = e.Message; WriteLogMessage(e); } return(expression); }