예제 #1
0
        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            _contentNavigator = new ContentNavigator();
            var dialogService   = new DialogService(ShellViewModel.DialogIdentifier);
            var progressService = new ProgressService(ShellViewModel.ProgressDialogIdentifier);

            containerRegistry.RegisterInstance(typeof(IDialogBus), new DialogBus(dialogService, progressService));
            containerRegistry.RegisterInstance(typeof(IContentNavigator <ViewType>), _contentNavigator);
            containerRegistry.RegisterInstance(typeof(IProgressPresenter), new ProgressPresenter(progressService.GetMessenger()));
            containerRegistry.Register(typeof(IGetCurrentDateTimeUseCase), typeof(GetCurrentDateTimeUseCase));
            containerRegistry.Register(typeof(IDetailDataListUseCase), typeof(DetailDataListUseCase));
        }