Doubleton Pattern Implementation

Posted by Pierreten on Stack Overflow See other posts from Stack Overflow or by Pierreten
Published on 2010-06-11T21:10:52Z Indexed on 2010/06/11 21:12 UTC
Read the original article Hit count: 199

Filed under:
|
|

I'm leveraging the Doubleton Pattern from this link http://www.codeproject.com/KB/architecture/designpattern_doubleton.aspx in my own code. I think it makes things a lot easier since the Singleton only provides one instance, but I get two with this pattern. I was wondering if it would make sense to have it implement an interface so I can inject it into my domain layer.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET