Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Resolve dependency injection

$
0
0

From outside the App - what is the most elegant way to resolve a dependency injection

var service = (IMyService) ((PrismApplicationBase) Application.Current).Container.Resolve(typeof(IMyService));


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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