public Worker(ILogger <Worker> logger, IDetectionRepository rep, IConfiguration conf) { _logger = logger; _configuration = conf; _detectionRepoitory = rep; _connectionString = conf.GetConnectionString("SQL_CollariniVendrame"); }
public FaceDetectionService(IDetectionRepository detectionRepository, IFilesDomainService filesService, ILogger <FaceDetectionService> logger, IMapper mapper) { this.detectionRepository = detectionRepository; this.filesService = filesService; this.logger = logger; this.mapper = mapper; }
public QueueTrigger(IConfiguration configuration, IDetectionRepository detRep, IInfluxDbRepository influxDbRepository) { _configuration = configuration; _detectionRepository = detRep; _influxRepository = influxDbRepository; _connectionString = _configuration.GetConnectionString("ITS_Storage"); _detectionTable = _detectionRepository.insertTable(_connectionString, "CollariniVendrameDetection"); _influxDBClient = InfluxDBClientFactory.Create("https://westeurope-1.azure.cloud2.influxdata.com", token.ToCharArray()); }
public DetectionController(IConfiguration conf, IDetectionRepository rep) { _configuration = conf; _detectionRepository = rep; _connectionStringSQL = _configuration.GetConnectionString("SQL_CollariniVendrame"); }