コード例 #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;
            }
        }
コード例 #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;
            }
        }
コード例 #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);
        }
コード例 #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);
        }