Works with IContainers better, what's the ObjectFactory directly (structuremap)?

in particular, will it work with containers as opposed to a static ObjectFactory, allowing me to store multiple concurrent configurations or containers at single points?

+2


source to share


1 answer


Containers are only singletones if they are static. There are a lot of problems with static types, especially with regard to Testability, so I definitely prefer to work with container instances myself.



+2


source







All Articles