This project is read-only.

Munq and Constructor Injection

Oct 20, 2010 at 7:07 PM

If you get the latest source from Munq.CodePlex.com (source not downloads) it support constructor injection with container.Register<TMyInterface, TMyImplementation>(); 

Jan 2, 2011 at 5:40 PM

Hi mdennis,

Sorry for delay, I never got any notification about this post on email.

ok, I downloaded the code & yes, Munq supports constructor injection with container.Register<TMyInterface, TMyImplementation>(); 

But, It's not real construction injection, Our Ioc container will be able to find automatic dependency by marking contrsuctor with InjectAttribute and It will resolve them automatically.

 

Regards,

Anwar Javed