public void NotDefinedVariableSholdReturnNull()
        {
            BindingEnvironment environment = new BindingEnvironment();
            VariableExpression variable = new VariableExpression("foo");

            Assert.IsNull(variable.Evaluate(environment));
        }
 public object Evaluate(BindingEnvironment environment)
 {
     return(environment.GetValue(this.name));
 }
 public object Evaluate(BindingEnvironment environment)
 {
     return environment.GetValue(this.name);
 }
Ejemplo n.º 4
0
 public object Evaluate(BindingEnvironment environment)
 {
     return(this.value);
 }
 public object Evaluate(BindingEnvironment environment)
 {
     return this.value;
 }