Example #1
0
        IMethodInvocation MakeCallMessage()
        {
            FakeMethodCallMessage msg        = new FakeMethodCallMessage(GetTargetMemberInfo().ImplementationMethodInfo, 15);
            IMethodInvocation     invocation = new TransparentProxyMethodInvocation(msg, null);

            return(invocation);
        }
Example #2
0
        private IMethodInvocation GetInvocation(MethodBase methodInfo,
                                                InvocationTarget target)
        {
            IMethodCallMessage remotingMessage = new FakeMethodCallMessage(methodInfo, new object[] { 1, "two" });

            return(new TransparentProxyMethodInvocation(remotingMessage, target));
        }
        IMethodInvocation GetInvocation(MethodBase methodInfo,
                                        InvocationTarget target)
        {
            IMethodCallMessage remotingMessage = new FakeMethodCallMessage(methodInfo, new object[] { 1, "two" });

            return new TransparentProxyMethodInvocation(remotingMessage, target);
        }
 IMethodInvocation MakeCallMessage()
 {
     FakeMethodCallMessage msg = new FakeMethodCallMessage(GetTargetMemberInfo().ImplementationMethodInfo, 15);
     IMethodInvocation invocation = new TransparentProxyMethodInvocation(msg, null);
     return invocation;
 }