Exemple #1
0
        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            _iocService = new DryIocService(containerRegistry.GetContainer());
            _iocService.RegisterType <NumberGenerator>();
            _iocService.RegisterXamarinAnalyticsService <AnalyticsConfig>();
            RegisterBuildConfig();

            containerRegistry.RegisterForNavigation <NavigationPage>();
            containerRegistry.RegisterForNavigation <MainPage, MainPageViewModel>();
        }