public Object makeProxy(IRuntimeServer runtime, int marshallFlags, int marshallDepth, ArrayList interfaceList) { Type[] interfaces = new Type[interfaceList.Count]; for (int i = 0; i < interfaces.Length; i++) { interfaces[i] = RuntimeServer.typeArg(interfaceList[i]); } ProxyHandler handler = new ProxyHandler(runtime, marshallFlags, marshallDepth); return(Proxy.BuildProxy(new Proxy.InvocationDelegate(handler.invoke), interfaces)); }
public Object makeProxy(IRuntimeServer runtime, int marshallFlags, int marshallDepth, ArrayList interfaceList) { Type[] interfaces = new Type[interfaceList.Count]; for(int i=0;i<interfaces.Length;i++) interfaces[i] = RuntimeServer.typeArg(interfaceList[i]); ProxyHandler handler = new ProxyHandler(runtime,marshallFlags,marshallDepth); return Proxy.BuildProxy(new Proxy.InvocationDelegate(handler.invoke),interfaces); }
public ProxyHandler(IRuntimeServer runtime, int marshallFlags, int marshallDepth) { this.runtime = runtime; this.marshallFlags = marshallFlags; this.marshallDepth = marshallDepth; }
public ProxyHandler(IRuntimeServer runtime,int marshallFlags,int marshallDepth) { this.runtime = runtime; this.marshallFlags = marshallFlags; this.marshallDepth = marshallDepth; }