refactor(Finalizer.Program): simplify EnvelopeGenerator service registration using AddEnvelopeGenerator extension

- Replaced manual service setup with AddEnvelopeGenerator fluent configuration
- Added EnvelopeGenerator.DependencyInjection namespace
- Integrated distributed SQL Server cache for EG services
- Improved DI structure and reduced obsolete warnings
This commit is contained in:
2025-11-03 10:24:09 +01:00
parent 3bc5439b5a
commit 568f43186c
5 changed files with 18 additions and 11 deletions

View File

@@ -38,6 +38,7 @@ public static class DependencyInjection
_serviceRegs.Dequeue().Invoke(services);
}
// TODO: update to use attributes and reflections instead of _addingStatus-dictionary
private readonly Dictionary<string, bool> _addingStatus = new ()
{
{ nameof(AddLocalization), false },