平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestWorker.cs 553 B

4 maanden geleden
123456789101112131415161718192021
  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. }