Skip to content

Commit

Permalink
fixing child scope issue #170
Browse files Browse the repository at this point in the history
  • Loading branch information
ipjohnson committed May 30, 2018
1 parent 477dcd6 commit 3e9938c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grace/DependencyInjection/Impl/InjectionScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ private object InternalLocate(IExportLocatorScope scope, IDisposalScope disposal
{
var injectionScopeParent = (IInjectionScope)Parent;

return injectionScopeParent.LocateFromChildScope(this, disposalScope, type, injectionContext, consider, key, allowNull, isDynamic);
return injectionScopeParent.LocateFromChildScope(scope, disposalScope, type, injectionContext, consider, key, allowNull, isDynamic);
}

var value = ScopeConfiguration.Implementation.Locate<IInjectionContextValueProvider>()
Expand Down

0 comments on commit 3e9938c

Please sign in to comment.