Beispiel #1
0
        public void GoBack(TPageIdentifier stackIdentifier, object args = null)
        {
            var result = ResolveStackManager(stackIdentifier).GoBack(args);

            if (result.WentBack)
            {
                WentBack?.Invoke(this, result.TargetPage);
                CurrentPage = result.TargetPage;
            }
        }
Beispiel #2
0
        public void GoBack(object args = null)
        {
            var result = _stackManagers.First().Value.GoBack(args);

            if (result.WentBack)
            {
                WentBack?.Invoke(this, result.TargetPage);
                CurrentPage = result.TargetPage;
            }
        }
Beispiel #3
0
        public bool OnBackRequested(TPageIdentifier stackIdentifier)
        {
            var result = ResolveStackManager(stackIdentifier).OnBackRequested();

            if (result.WentBack)
            {
                WentBack?.Invoke(this, result.TargetPage);
                CurrentPage = result.TargetPage;
            }

            return(result.WentBack);
        }
Beispiel #4
0
        public bool OnBackRequested()
        {
            var result = _stackManagers.First().Value.OnBackRequested();

            if (result.WentBack)
            {
                WentBack?.Invoke(this, result.TargetPage);
                CurrentPage = result.TargetPage;
            }

            return(result.WentBack);
        }