Exemplo n.º 1
0
        public async Task <INavigationResult> GoForwardAsync(INavigationParameters parameters)
        {
            if (parameters == null && (_frame as IFrameFacade2).Frame.ForwardStack.Any())
            {
                var previous = (_frame as IFrameFacade2).Frame.ForwardStack.Last().Parameter?.ToString();
                parameters = new NavigationParameters(previous);
            }

            return(await _frame.GoForwardAsync(
                       parameters : parameters));
        }
 public async Task <INavigationResult> GoForwardAsync()
 => await _frame.GoForwardAsync();