feat(templateDistributor): шаблон проекта

This commit is contained in:
Mikhail Kuznetsov
2024-07-01 15:04:31 +10:00
parent 3a7529d9cd
commit e896191ac9
15 changed files with 303 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
namespace PARR.TemplateDistributorWorker
{
public class Worker : BackgroundService
{
private readonly ILogger<Worker> _logger;
public Worker(ILogger<Worker> logger)
{
_logger = logger;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
//while (!stoppingToken.IsCancellationRequested)
//{
// _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
// await Task.Delay(1000, stoppingToken);
//}
}
}
}