You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure a third implementation could arise, (though it's possible), but it's likely a broader set of collections add amplified types will be supported, e.g. arrays, List<>, IReadOnlyCollection<>, Func<>, Lazy<T> etc. Therefore consolidating this into a single implementation would be beneficial and DRY.
Proposal
Not sure yet, most likely an internal static helper method.
The text was updated successfully, but these errors were encountered:
Problem
There are two near identical implementations for retrieving injected dependencies, originally constructor dependencies, and lateley property dependecies.
The logic in both implementations encapsulates:
IEnumerable<>
dependencies.I'm not sure a third implementation could arise, (though it's possible), but it's likely a broader set of collections add amplified types will be supported, e.g. arrays,
List<>
,IReadOnlyCollection<>
,Func<>
,Lazy<T>
etc. Therefore consolidating this into a single implementation would be beneficial and DRY.Proposal
Not sure yet, most likely an internal static helper method.
The text was updated successfully, but these errors were encountered: