Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Where should I put my singletons...

$
0
0
Hi mt_x,
As per my understanding from your post you are trying to use single instance of service object in different modules. If this is that case than i think you can achieve this by
registering service in unity container and get that service by using service locator class in your different modules.

Hoping this will help you.

Pankaj Goswami

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>