Example #1
0
 private bool EvaluateCondition(IExpression expression) => QLExpressionEvaluator.AsBool(QLExpressionEvaluator.Evaluate(expression, GetAnswer));
Example #2
0
 public void Visit(ComputedQuestion question)
 {
     _answers[question.Id] = QLExpressionEvaluator.Evaluate(question.Computation, GetAnswer);
     AddQuestion(question, true);
 }