Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Build a custom service manager or use something likeMono.Addins (does MEF exists for MONO?)

$
0
0

Hi all,

In my application (iOS, Android and possibly WP) I'm building a service manager, this manager would be responsible for registering all the existing services (types that implement IService - something that I need) and delivering them when needed.

Then I talked to a colleague because I though, I'm not the only guy that has these requirements, and he talked to me about MEF, PRISM, etc... I searched for some articles regarding this platforms and mono and I found an article from Miguel de Icaza a bit upset about M$ changes to MEF and "defending" Mono.Addins.

So, what are you guys using?

My requirements are simple:

I've got services for security, logging, configuration, communication, etc. I must registered them, state what type implements them and whenever I need something that is provided for one of those services, I just type ServiceManager.GetService() and I can call anything defined in ISecurity.

Thanks for all the help,

Luis Pinho


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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