public T GetService <T>(string scope, TimeoutSettings timeoutSettings) where T : class { var serviceName = typeof(T).GetServiceName(); if (topology.GetEndPoint(serviceName, scope) == settings.EndPoint) { var implementation = serviceImplementationContainer.GetImplementation(serviceName, scope).Implementation; // todo: notready timeouts return((T)implementation); } return(proxyContainer.GetProxy <T>(scope, timeoutSettings)); }
public T GetService <T>(string scope, TimeoutSettings timeoutSettings) where T : class { return(proxyContainer.GetProxy <T>(scope, timeoutSettings)); }