Beispiel #1
0
        /// <summary>
        /// Records the navigation.
        /// </summary>
        /// <param name="entry">The entry.</param>
        public void RecordNavigation(IRegionNavigationJournalEntry entry)
        {
            var currentEntry = CurrentEntry;

            _regionNavigationJournal.RecordNavigation(entry);
            // if currententry isn't equal to previous entry then we moved forward
            if (currentEntry != null && CurrentEntry == entry)
            {
                _backStack.Push(currentEntry.Uri);
            }
        }