reafctor(templateMatcher): сервис синхронизации неактуальных шаблонов вынесен в отдельный класс

This commit is contained in:
Mikhail Kuznetsov
2026-09-10 14:12:47 +10:00
parent 83c6a5f605
commit 0629579cf0
12 changed files with 477 additions and 376 deletions

View File

@@ -78,6 +78,9 @@ namespace PARR.TemplateMatcher
// Легковесные сервисы без состояния, создаются по требованию
services.AddTransient<ITemplateMqPublisher, TemplateMqPublisher>();
services.AddTransient<ITemplateNameNormalizer, TemplateNameNormalizer>();
//Сервис для неактуальных шаблонов
services.AddScoped<IUnusedTemplatesSyncService, UnusedTemplatesSyncService>();
}
public static IConfigurationBuilder AddTemplateMatcherConfigurations(this IConfigurationBuilder builder, IServiceCollection services)