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