Exemple #1
0
        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));
        }
Exemple #2
0
 public InvocationResultTranslatorTests()
 {
     testObj = new InvocationResultTranslatorImpl(portableObjectBoxConverter);
 }