public T RegisterProxy <T>(string typeName, T implementation) where T : class { var callerProxy = new CallerProxy(implementation); inDomainHost.RegisterProxy(typeName, callerProxy); return(callerProxy.InvocationHandlerFor <T>()); }
public void RegisterProxy(string typeName, CallerProxy proxy) { invokers.Add(typeName, proxy); }