/// <summary> /// Gets the expression for rule. /// </summary> /// <param name="param">The rule.</param> /// <param name="typeParameterExpressions">The type parameter expressions.</param> /// <param name="ruleInputExp">The rule input exp.</param> /// <returns></returns> private Func <object[], object> GetDelegateForRuleParam(LocalParam param, RuleParameter[] ruleParameters) { return(_ruleExpressionParser.Compile <object>(param.Expression, ruleParameters)); }
/// <summary> /// Gets the expression for rule. /// </summary> /// <param name="param">The rule.</param> /// <param name="typeParameterExpressions">The type parameter expressions.</param> /// <param name="ruleInputExp">The rule input exp.</param> /// <returns></returns> private Delegate GetDelegateForRuleParam(LocalParam param, RuleParameter[] ruleParameters) { return(_ruleExpressionParser.Compile(param.Expression, ruleParameters)); }