When does dependency injection happen

Topics: CAB & Smart Client Software Factory
Apr 4, 2006 at 7:35 AM
originally posted by: ksunair

I created a interface to a service and added as service dependency in one of the user control. I am trying to use it immediatly following the InitializeComponent and I am getting an error and when I checked the interface value it is null.

So my question is when does dependency injection happen for a user control? Is it after it is initialised or is it after it is added to the root workitem?