Esempio n. 1
0
 /// <summary>
 /// Register Your Service in DI
 /// </summary>
 /// <typeparam name="TInterface">interface</typeparam>
 /// <typeparam name="T">implementation</typeparam>
 public static void RegisterService <TInterface, T>() where T : TInterface
 {
     IocService.RegisterService <TInterface, T>();
 }
Esempio n. 2
0
 private static void RegisterServices(MvvmConfig mvvmConfig = null)
 {
     IocService.RegisterService <IMessagingCenter, MessagingCenter>();
     IocService.RegisterService <INavigationService, NavigationService>();
 }