Consider a problem: in Prism, the service injection is being resolved using a ServiceLocator class (or you can access a Unity container directly, which is not advised). But how you doing this in Xaml? To solve this, I suggest to create a markup extension ServiceLocatorMarkupExtension, to do a job from xaml. Just pass as a […]
↧