Add Magic Service
This commit is contained in:
parent
21fb58744c
commit
c308e72ee0
@ -36,6 +36,8 @@ public sealed class RhSolutionsAddIn : IExcelAddIn
|
||||
Services.AddSingleton<ReaderFactory>();
|
||||
Services.AddTransient<ExcelReader>()
|
||||
.AddTransient<IReader, ExcelReader>(s => s.GetService<ExcelReader>());
|
||||
Services.AddTransient<MagicReader>()
|
||||
.AddTransient<IReader, MagicReader>(s => s.GetService<MagicReader>());
|
||||
|
||||
Services.AddSingleton<ToolFactory>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user