Amend compoments to be keyed based

This commit is contained in:
TheXamlGuy
2024-06-29 11:23:44 +01:00
parent 4e377b35d1
commit 46b5931484
7 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ public class WalletInitializer(IEnumerable<IConfigurationDescriptor<WalletConfig
{
foreach (IConfigurationDescriptor<WalletConfiguration> configuration in configurations)
{
if (componentFactory.Create<IWalletComponent,
if (componentFactory.Create<WalletComponent,
WalletConfiguration>(configuration.Section, configuration.Value)
is IComponentHost host)
{