コード例 #1
0
        public Task NavigateAsync(INavigatableViewModel viewModel)
        {
            CurrentView = _viewFactory.ResolveView(viewModel);

            _loggingService.Info($"Navigating to page: {CurrentView}");

            return(_navigationFacade.PushAsync(CurrentView));
        }
コード例 #2
0
 public Task NavigateAsync(INavigatableViewModel viewModel)
 {
     CurrentPage = ResolveView(viewModel);
     return(_navigationFacade.PushAsync(CurrentPage));
 }