/// <summary> /// Evaluate a list domain expression. /// </summary> /// <param name="theExpressionNode">List domain expression node.</param> /// <returns>Domain value.</returns> internal static DomainValue Evaluate(ListDomainExpressionNode theExpressionNode) { var evaluator = new DomainExpressionEvaluator(); return(evaluator.EvaluateNode(theExpressionNode)); }
/// <summary> /// Evaluate a range domain expression. /// </summary> /// <param name="theExpressionNode">The range expression node.</param> /// <param name="theModel">The model.</param> /// <returns>Domain value.</returns> internal static DomainValue Evaluate(RangeDomainExpressionNode theExpressionNode, ModelModel theModel) { var evaluator = new DomainExpressionEvaluator(); return(evaluator.EvaluateNode(theExpressionNode, theModel)); }