Add CurrrentPriceWriter service

This commit is contained in:
Sergey Chebotar 2023-06-20 09:46:52 +03:00
parent f89a3eb765
commit 98bb135b62

View File

@ -32,6 +32,8 @@ public sealed class RhSolutionsAddIn : IExcelAddIn
.AddTransient<IWriter, NewPriceWriter>(s => s.GetService<NewPriceWriter>());
Services.AddTransient<DxfWriter>()
.AddTransient<IWriter, DxfWriter>(s => s.GetService<DxfWriter>());
Services.AddTransient<CurrentPriceWriter>()
.AddTransient<IWriter, CurrentPriceWriter>(s => s.GetService<CurrentPriceWriter>());
Services.AddSingleton<ReaderFactory>();
Services.AddTransient<ExcelReader>()