예제 #1
0
        protected override INotifyExpression <TResult> ApplyParametersCore(IDictionary <string, object> parameters, IDictionary <INotifiable, INotifiable> trace)
        {
            var newArgument1 = Argument1.ApplyParameters(parameters, trace);

            if (newArgument1 == Argument1)
            {
                return(this);
            }
            return(new ObservableStaticLensMethodCall <T1, TResult>(Function, LensPut.ApplyNewTarget(newArgument1 as INotifyReversableValue <T1>), newArgument1));
        }
예제 #2
0
        protected override INotifyExpression <TResult> ApplyParametersCore(IDictionary <string, object> parameters, IDictionary <INotifiable, INotifiable> trace)
        {
            var newTarget = Target.ApplyParameters(parameters, trace);

            return(new ObservableMethodLensProxyCall <T, TResult>(ProxyMethod, newTarget, LensPut.ApplyNewTarget(newTarget as INotifyReversableValue <T>)));
        }
예제 #3
0
        public override INotifyExpression <TResult> ApplyParameters(IDictionary <string, object> parameters)
        {
            var newTarget = Target.ApplyParameters(parameters);

            return(new ObservableSimpleLensMethodProxyCall <T, TResult>(newTarget, ProxyMethod, LensPut.ApplyNewTarget((INotifyReversableValue <T>)newTarget)));
        }
        public override INotifyExpression <TResult> ApplyParameters(IDictionary <string, object> parameters)
        {
            var newArgument1 = Argument1.ApplyParameters(parameters);

            return(new ObservableStaticLensProxyCall <T1, TResult>(ProxyFunction, newArgument1, LensPut.ApplyNewTarget(newArgument1 as INotifyReversableValue <T1>)));
        }