What is the IServiceLocator interface?
Posted
by stiank81
on Stack Overflow
See other posts from Stack Overflow
or by stiank81
Published on 2010-04-12T10:33:53Z
Indexed on
2010/04/12
13:52 UTC
Read the original article
Hit count: 514
From what I understand IServiceLocator is an interface to abstract the actual IoC container away? I'm asking with relation to Prism where I'm trying to replace Unity with Prism, and I see Prism-classes relying on IServiceLocator. Could someone please clarify the role of the interface and when it is used?
And also; what is the Common Service Locator, and will this be helpful when working with IServiceLocator?
© Stack Overflow or respective owner