public ServiceManager(RestClientFactory restClientFactory, ServiceHubContextFactory serviceHubContextFactory, IServiceEndpointManager endpointManager, IServiceProvider serviceProvider) { _restClientFactory = restClientFactory; _serviceHubContextFactory = serviceHubContextFactory; _serviceProvider = serviceProvider; _endpoint = endpointManager.Endpoints.Single().Key; _endpointProvider = endpointManager.GetEndpointProvider(_endpoint); }
public ServiceContext(ServiceHubContextFactory serviceHubContextFactory, NegotiateProcessor negotiateProcessor, IServiceProvider serviceProvider) { _serviceHubContextFactory = serviceHubContextFactory; _negotiateProcessor = negotiateProcessor; _serviceProvider = serviceProvider; }