public PackageService( [NotNull] NuGetListConfiguration deploymentConfiguration, [NotNull] ICustomMemoryCache memoryCache, [NotNull] IKeyValueConfiguration keyValueConfiguration, [NotNull] ILogger logger, [NotNull] CustomHttpClientFactory httpClientFactory) { _deploymentConfiguration = deploymentConfiguration ?? throw new ArgumentNullException(nameof(deploymentConfiguration)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); _keyValueConfiguration = keyValueConfiguration ?? throw new ArgumentNullException(nameof(keyValueConfiguration)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); }
public MilouDeployer( [NotNull] MilouDeployerConfiguration milouDeployerConfiguration, [NotNull] IDeploymentTargetReadService deploymentTargetReadService, [NotNull] ICredentialReadService credentialReadService, [NotNull] IKeyValueConfiguration keyValueConfiguration, [NotNull] CustomHttpClientFactory clientFactory) { _milouDeployerConfiguration = milouDeployerConfiguration ?? throw new ArgumentNullException(nameof(milouDeployerConfiguration)); _deploymentTargetReadService = deploymentTargetReadService ?? throw new ArgumentNullException(nameof(deploymentTargetReadService)); _credentialReadService = credentialReadService ?? throw new ArgumentNullException(nameof(credentialReadService)); _keyValueConfiguration = keyValueConfiguration ?? throw new ArgumentNullException(nameof(keyValueConfiguration)); _clientFactory = clientFactory; }
public Repositorio(CustomHttpClientFactory customHttpClientFactory) { this.customHttpClientFactory = customHttpClientFactory; }
public Repository(CustomHttpClientFactory customHttpClientFactory) { _customHttpClientFactory = customHttpClientFactory; }
public ProductServiceClient() { _client = CustomHttpClientFactory.CreateHttpClientWithoutSslValidation(); }