ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Add parameter information for method injection #161

Closed eglauko closed 6 years ago

eglauko commented 6 years ago

I need that be possible to specify the locate key for injected methods parameters, in addition to informing if the parameter is required.

I created a class named 'MethodParameterInfo' and change the class 'MethodInjectionInfo'.

In the 'GetDependenciesForMethod' method, I set the parameterRequest values.

ipjohnson commented 6 years ago

Very cool. I'll take a look at it in the coming days and see if I can get a beta out for you to test with.

Thanks for the PR

ipjohnson commented 6 years ago

I've pushed 6.4.0-Beta679 to nuget for testing.

eglauko commented 6 years ago

cool Monday I'll update the project I'm working on.