Skip to content

Commit

Permalink
Merge pull request #595 from hadashiA/ku/quick-fix
Browse files Browse the repository at this point in the history
Quick fix compilation errors
  • Loading branch information
hadashiA committed Dec 19, 2023
2 parents 2f8e5d4 + d903ba3 commit c2087dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@ public static class ContainerBuilderExtensions
this IContainerBuilder builder,
Func<IObjectResolver, TInterface> implementationConfiguration,
Lifetime lifetime)
=> builder.Register(new FuncRegistrationBuilder(implementationConfiguration, typeof(TInterface), lifetime));
=> builder.Register(new FuncRegistrationBuilder(container => implementationConfiguration(container), typeof(TInterface), lifetime));

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static RegistrationBuilder RegisterInstance<TInterface>(
Expand Down

1 comment on commit c2087dc

@vercel
Copy link

@vercel vercel bot commented on c2087dc Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.