예제 #1
0
    public void Recalculate(Dictionary <string, IExpressionNode> keyValues)
    {
        if (_first.IsConst & _second.IsConst)
        {
            return;
        }

        if (!_first.IsConst)
        {
            _first.Recalculate(keyValues);
        }
        if (!_second.IsConst)
        {
            _second.Recalculate(keyValues);
        }

        Execute();
    }