平安校园
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

21 rinda
553 B

  1. using SafeCampus.Cache;
  2. namespace SafeCampus.Background
  3. {
  4. public class TestWorker : BackgroundService
  5. {
  6. private readonly ILogger<TestWorker> _logger;
  7. private readonly ISimpleCacheService _simpleCacheService;
  8. public TestWorker(ILogger<TestWorker> logger, ISimpleCacheService simpleCacheService)
  9. {
  10. _logger = logger;
  11. this._simpleCacheService = simpleCacheService;
  12. }
  13. protected override async Task ExecuteAsync(CancellationToken stoppingToken)
  14. {
  15. }
  16. }
  17. }