public TService Create <TService>(Guid serviceGuid) where TService : class { var serviceInterface = typeof(TService); var validator = validatorFactory.Create(serviceGuid, serviceInterface); var translator = new InvocationResultTranslatorImpl(portableObjectBoxConverter); var interceptor = new RemoteServiceProxyInvocationInterceptor(serviceGuid, validator, translator, clusteringPhaseManager); return(proxyGenerator.CreateInterfaceProxyWithoutTarget <TService>(interceptor)); }
public InvocationResultTranslatorTests() { testObj = new InvocationResultTranslatorImpl(portableObjectBoxConverter); }