DI and Singleton Pattern in one implementation
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2009-12-16T19:48:20Z
Indexed on
2010/05/18
5:50 UTC
Read the original article
Hit count: 228
c#
|inversion-of-control
I want to refactor some code using the Windsor IOC/DI framework, but my issue is that I have some Singleton classes and Factory pattern classes and I am not sure that one can implement a Singleton or Factory using DI.
Has anyone any ideas if that is possible and how?
© Stack Overflow or respective owner