job status reporting

This commit is contained in:
EugeneTes
2026-02-03 10:52:27 +01:00
parent f660b5119c
commit d738699acc
7 changed files with 31 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ public class PrintServerHostedService : IHostedService
_kernel.Bind<IAssignedPrinterRepository>().ToConstant(config);
_kernel.Bind<IWrapperPrinterFactory>().To<PrinterWrapperFactory>().InSingletonScope();
_kernel.Bind<IPrinterConfigurationSource>().ToConstant(config);
_kernel.Bind<IJobStatusReporter>().To<NullJobStatusReporter>();
_kernel.Bind<PrintServer>().ToSelf().InSingletonScope();
// Get instances