Beispiel #1
0
            public void SetParamExpression(RuleParameter paramInfo, RuleExpression expr, NavContext paramValueContext)
            {
                if (_ruleParamExpressions == null)
                {
                    _ruleParamExpressions = new Dictionary <string, RuleParameterInfo>();
                }

                _ruleParamExpressions.Add(paramInfo.Name, new RuleParameterInfo(paramInfo, expr, paramValueContext));
            }
Beispiel #2
0
        public void Add(RuleParameter param)
        {
            if (param == null)
            {
                throw new ArgumentNullException();
            }

            this.ValidateNotFrozen();
            _entities.Add(param.Name, param);
        }
Beispiel #3
0
 public void SetParamExpression(RuleParameter paramInfo, RuleExpression expr)
 {
     _stack.Peek().SetParamExpression(paramInfo, expr, _stack.Skip(1).First());
 }
Beispiel #4
0
 public RuleParameterInfo(RuleParameter paramInfo, RuleExpression expression, NavContext paramValueContext)
 {
     this.paramInfo         = paramInfo;
     this.expression        = expression;
     this.paramValueContext = paramValueContext;
 }