Ejemplo n.º 1
0
 public CountSheepService(
     IOptions <CountSheepSettingsModel> options,
     ISheepQueueService sheepQueueService)
 {
     _options           = options.Value;
     _sheepQueueService = sheepQueueService;
 }
 public SheepStorageService(
     IMemoryCache memoryCache,
     ILogger <SheepStorageService> logger,
     IOptions <CountSheepSettingsModel> options)
 {
     _memoryCache        = memoryCache;
     _logger             = logger;
     _countSheepSettings = options.Value;
 }