Switch Currency client from transient to singleton
This commit is contained in:
parent
bfab7eb02b
commit
1399d71f3c
@ -24,7 +24,7 @@ public sealed class RhSolutionsAddIn : IExcelAddIn
|
||||
.AddSingleton((Application)ExcelDnaUtil.Application)
|
||||
.AddSingleton<IAddInConfiguration, AddInConfiguration>()
|
||||
.AddSingleton<IDatabaseClient, DatabaseClient>()
|
||||
.AddTransient<ICurrencyClient, CurrencyClient>()
|
||||
.AddSingleton<ICurrencyClient, CurrencyClient>()
|
||||
.AddTransient<IFileDialog, FileDialog>();
|
||||
|
||||
Services.AddSingleton<WriterFactory>();
|
||||
|
Loading…
Reference in New Issue
Block a user