public ObservableMethodLensProxyCall(MethodCallExpression node, ObservableExpressionBinder binder, MethodInfo proxyMethod) : base(node, binder, proxyMethod) { var lensPutAttribute = node.Method.GetCustomAttribute(typeof(LensPutAttribute)) as LensPutAttribute; LensPut = LensPut <T, TResult> .FromLensPutAttribute(lensPutAttribute, node.Method, Target as INotifyReversableValue <T>); }
public ObservableLensPutProxy(INotifyReversableValue <TBase> target, INotifyExpression <T> inner, LensPutAttribute lensAttribute, MethodInfo method) { this.inner = inner; this.lens = LensPut <TBase, T> .FromLensPutAttribute(lensAttribute, method, target); }
public ObservableStaticLensMethodCall(MethodCallExpression node, ObservableExpressionBinder binder) : base(node, binder) { var lensPutAttribute = node.Method.GetCustomAttribute(typeof(LensPutAttribute)) as LensPutAttribute; LensPut = LensPut <T1, TResult> .FromLensPutAttribute(lensPutAttribute, node.Method, Argument1 as INotifyReversableValue <T1>); }