Can Unity automatically resolve IEnumerable?
IEnumerable
Let\'s say I have a class with this constructor:
public CoalescingParserSelector(I
You can do like this:
container.RegisterType("HelpParser"); container.RegisterType("SomeOtherParser"); container.RegisterType( new InjectionConstructor( new ResolvedArrayParameter( new ResolvedParameter("HelpParser"), new ResolvedParameter("SomeOtherParser") ) ));