Esempio n. 1
0
 public Worker(ILogger <Worker> logger, ILogger <PcrConverter> converterLogger, IOptions <PcrSetting> pcrOptions)
 {
     _logger     = logger;
     _pcrOptions = pcrOptions.Value;
     _queue      = new ConcurrentQueue <string>();
     _converter  = new PcrConverter(_pcrOptions, converterLogger);
 }
Esempio n. 2
0
 public PcrConverter(PcrSetting setting, ILogger <PcrConverter> logger)
 {
     _setting = setting;
     _logger  = logger;
 }