Exemplo n.º 1
0
        public INotifyExpression <T> ApplyParameters(IDictionary <string, object> parameters)
        {
            var applied = Variable.ApplyParameters(parameters);

            if (applied.IsParameterFree)
            {
                parameters.Add(ParameterName, applied);
                return(Inner.ApplyParameters(parameters));
            }
            return(new ObservableLocalVariable <T, TVar>(Inner.ApplyParameters(parameters), applied, ParameterName));
        }
Exemplo n.º 2
0
 public INotifyExpression <T> ApplyParameters(IDictionary <string, object> parameters)
 {
     return(new ReversableProxyExpression <T>(Inner.ApplyParameters(parameters), UpdateHandler));
 }
Exemplo n.º 3
0
 protected override INotifyExpression <object> ApplyParametersCore(IDictionary <string, object> parameters, IDictionary <INotifiable, INotifiable> trace)
 {
     return(new ObservableBoxExpression <T>(Inner.ApplyParameters(parameters, trace)));
 }
 protected override INotifyExpression <bool> ApplyParametersCore(IDictionary <string, object> parameters, IDictionary <INotifiable, INotifiable> trace)
 {
     return(new ObservableTypeExpression(Inner.ApplyParameters(parameters, trace), TypeOperand, ExactMatch));
 }
Exemplo n.º 5
0
 public override INotifyExpression <object> ApplyParameters(IDictionary <string, object> parameters)
 {
     return(new ObservableBoxExpression <T>(Inner.ApplyParameters(parameters)));
 }
 public override INotifyExpression <bool> ApplyParameters(IDictionary <string, object> parameters)
 {
     return(new ObservableTypeExpression(Inner.ApplyParameters(parameters), TypeOperand, ExactMatch));
 }