protected virtual Task <bool> CloseTabViewController(IMvxViewModel viewModel, MvxTabPresentationAttribute attribute)
        {
            if (TabBarViewController != null && TabBarViewController.CloseTabViewModel(viewModel))
            {
                return(Task.FromResult(true));
            }

            return(Task.FromResult(false));
        }
Exemple #2
0
        protected virtual bool CloseTabViewController(IMvxViewModel viewModel, MvxTabPresentationAttribute attribute)
        {
            if (TabBarViewController != null && TabBarViewController.CloseTabViewModel(viewModel))
            {
                return(true);
            }

            return(false);
        }
Exemple #3
0
        protected virtual ValueTask <bool> CloseTabViewController(IMvxViewModel viewModel, MvxTabPresentationAttribute?attribute)
        {
            if (TabBarViewController != null && TabBarViewController.CloseTabViewModel(viewModel))
            {
                return(new ValueTask <bool>(true));
            }

            return(new ValueTask <bool>(false));
        }