Skip to content

Commit

Permalink
Merge pull request #197 from hadashiA/ku/remove-register-container
Browse files Browse the repository at this point in the history
Remove RegisterContainer in use
  • Loading branch information
hadashiA authored Apr 23, 2021
2 parents 21897be + 7db2feb commit 7d431ec
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public static RegistrationBuilder RegisterEntryPoint<T>(this IContainerBuilder b
if (!builder.Exists(typeof(EntryPointDispatcher), false))
{
builder.Register<EntryPointDispatcher>(Lifetime.Scoped);
builder.RegisterContainer();

builder.RegisterBuildCallback(container =>
{
container.Resolve<EntryPointDispatcher>().Dispatch();
Expand Down

1 comment on commit 7d431ec

@vercel
Copy link

@vercel vercel bot commented on 7d431ec Apr 23, 2021

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.