Пример #1
0
        public async Task <TViewModel> PushAsync <TViewModel>(Action <TViewModel> setStateAction = null) where TViewModel : class, IViewModel
        {
            TViewModel viewModel;
            var        page = _pageFactory.Resolve(out viewModel, setStateAction);
            await _page.Navigation.PushAsync(page);

            return(viewModel);
        }