Esempio n. 1
0
        public async Task NavigateModal(bool animated = true)
        {
            if (_navigationService == null)
            {
                throw new InvalidOperationException(
                          "Cannot navigate without attaching an ViewModelNavigation. Call AttachTo first.");
            }

            await _navigationService.PushModalAsync(new Action <TViewModel, Page>(ActivateAction), animated);
        }