This commit is contained in:
EugeneTes
2026-01-28 11:26:42 +01:00
parent ff52db279f
commit 8be53cec4e
5 changed files with 25 additions and 9 deletions

View File

@@ -8,17 +8,17 @@ public class PrintLoop
private readonly global::PrintServer _printServer;
private readonly IPrintService _printService;
private readonly IPrintJobSource _jobSource;
private readonly IAssignedPrinterRepository _assignedPrinterRepository;
private readonly ILogger _logger;
private CancellationTokenSource? _cancellationSource;
private CancellationToken _cancellationToken;
public PrintLoop(global::PrintServer printServer,IPrintService printService, IPrintJobSource jobSource, IAssignedPrinterRepository assignedPrinterRepository, ILogger logger)
public PrintLoop(global::PrintServer printServer,IPrintService printService, IPrintJobSource jobSource, ILogger logger)
{
_printServer = printServer;
_printService = printService;
_jobSource = jobSource;
_assignedPrinterRepository = assignedPrinterRepository;
_logger = logger;
}