Amend compoments to be keyed based

This commit is contained in:
TheXamlGuy
2024-06-29 11:23:45 +01:00
parent e19a963f8e
commit f921860fbe
9 changed files with 37 additions and 40 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ public class ComponentInitializer(IEnumerable<IComponent> components,
{
foreach (IComponent component in components)
{
IComponentBuilder builder = component.Create();
IComponentBuilder builder = component.Configure("");
builder.AddServices(services =>
{
services.AddTransient(_ =>