IMethodInvocation MakeCallMessage() { FakeMethodCallMessage msg = new FakeMethodCallMessage(GetTargetMemberInfo().ImplementationMethodInfo, 15); IMethodInvocation invocation = new TransparentProxyMethodInvocation(msg, null); return(invocation); }
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; }