Fixed issue where the builder delegate was called too late

This commit is contained in:
TheXamlGuy
2024-09-30 21:54:28 +01:00
parent a9ae9b1d8f
commit 5a5d3f80a9
4 changed files with 20 additions and 23 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public class ComponentInitializer(IEnumerable<IComponent> components,
{
foreach (IComponent component in components)
{
IComponentBuilder builder = component.Configure("");
IComponentBuilder builder = component.Configure();
builder.AddServices(services =>
{
services.AddTransient(_ =>