Exemplo n.º 1
0
        public override void SetValue(Bindings bindings, ELContext context, object value)
        {
            ValueExpression expression = bindings.GetVariable(index);

            if (expression != null)
            {
                expression.SetValue(context, value);
                return;
            }
            context.PropertyResolved = false;
            context.ELResolver.SetValue(context, null, name, value);
            if (!context.PropertyResolved)
            {
                throw new PropertyNotFoundException(LocalMessages.Get("error.identifier.property.notfound", name));
            }
        }
Exemplo n.º 2
0
 protected internal override void Invoke()
 {
     ValueExpression.SetValue(ElContext, Value);
 }