Method Injection for Generic Methods

Jun 23, 2009 at 1:00 PM

I was looking at the source code for Unity 1.1 and see that there is a check to ensure that generic methods cannot be used for dependency injection.

Is there a specific reason for this?  

I guess I could modify this behavior to allow for method injection for generic methods, but I don't want to go down that route unless I have to.


Jun 24, 2009 at 3:17 AM

We couldn't get it to work, so we deliberately disabled it. I don't remember the specific details.