Fixed issue where the builder delegate was called too late
This commit is contained in:
@@ -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(_ =>
|
||||
|
||||
Reference in New Issue
Block a user