コード例 #1
0
        public T RegisterProxy <T>(string typeName, T implementation) where T : class
        {
            var callerProxy = new CallerProxy(implementation);

            inDomainHost.RegisterProxy(typeName, callerProxy);

            return(callerProxy.InvocationHandlerFor <T>());
        }
コード例 #2
0
 public void RegisterProxy(string typeName, CallerProxy proxy)
 {
     invokers.Add(typeName, proxy);
 }