Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed May 18, 2022
1 parent bbd1657 commit c2d5947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gateways.Business.Bootstrapper/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ private static void BootType(IServiceCollection services, Type type)
return;
var impl = impls.First();
services.AddScoped(type, impl);
var parameterTpes = impl
var parameterTypes = impl
.GetConstructors()
.SelectMany(t => t.GetParameters())
.Select(p => p.ParameterType)
.ToList();
foreach (var parameterType in parameterTpes)
foreach (var parameterType in parameterTypes)
BootType(services, parameterType);
}
}
Expand Down

0 comments on commit c2d5947

Please sign in to comment.