public BackendManager(IEndpointManagerFactory endpointManagerFactory, IProxyHttpClientFactoryFactory httpClientFactoryFactory) { Contracts.CheckValue(endpointManagerFactory, nameof(endpointManagerFactory)); Contracts.CheckValue(httpClientFactoryFactory, nameof(httpClientFactoryFactory)); _endpointManagerFactory = endpointManagerFactory; _httpClientFactoryFactory = httpClientFactoryFactory; }
public ClusterManager(IDestinationManagerFactory destinationManagerFactory, IProxyHttpClientFactoryFactory httpClientFactoryFactory) { _destinationManagerFactory = destinationManagerFactory ?? throw new ArgumentNullException(nameof(destinationManagerFactory)); _httpClientFactoryFactory = httpClientFactoryFactory ?? throw new ArgumentNullException(nameof(httpClientFactoryFactory)); }