예제 #1
0
 public AgentUploadInfoController(
     IDbConnectionFactory connectionFactory,
     RegistryConfig registryConfig,
     RepositoryNameFactory repositoryNameFactory)
 {
     _connectionFactory     = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory));
     _registryConfig        = registryConfig ?? throw new ArgumentNullException(nameof(registryConfig));
     _repositoryNameFactory = repositoryNameFactory;
 }
예제 #2
0
 public ApplicationDownloadInfoController(
     IDbConnectionFactory connectionFactory,
     ILogger <ApplicationDownloadInfoController> logger,
     RegistryConfig registryConfig,
     RepositoryNameFactory repositoryNameFactory)
 {
     _logger                = logger ?? throw new ArgumentNullException(nameof(logger));
     _registryConfig        = registryConfig ?? throw new ArgumentNullException(nameof(registryConfig));
     _repositoryNameFactory = repositoryNameFactory ?? throw new ArgumentNullException(nameof(repositoryNameFactory));
     _connectionFactory     = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory));
 }