Skip to content

Commit

Permalink
Fix for the decorator in another assembly issue. Closes GH-124
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Feb 1, 2019
1 parent a43edbc commit 19fe05d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Lamar/IoC/Instances/ConstructorInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ private static string explainWhyConstructorCannotBeUsed(Type implementationType,
}
}



return declaration;
}
Expand Down Expand Up @@ -497,9 +497,11 @@ public DependencyExpression<T> Setter<T>(string propName = null)

IReadOnlyList<Instance> IConfiguredInstance.InlineDependencies { get; }





protected override IEnumerable<Assembly> relatedAssemblies()
{
return base.relatedAssemblies().Concat(_inlines.SelectMany(x => x.ReferencedAssemblies()));
}
}


Expand Down

0 comments on commit 19fe05d

Please sign in to comment.