Jan 1, 2011 at 4:53 AM

Is it possible to configure InjectionFactory via the configuration file to call an instance factory method rather than a static one?

Jan 2, 2011 at 10:36 PM
Edited Jan 2, 2011 at 10:41 PM

Configuring InjectionFactory in the configuration file is not directly supported but it is doable.  Chris Tavares created a sample unity extension that allows you to do this as mentioned in this thread.  It's designed for static method though but the idea is the same and you can modify the source code to fit your requirement.


Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.