Catel.Services.NavigationService.RemoveBackEntry C# (CSharp) Method

RemoveBackEntry() public method

Removes the last back entry from the navigation history.
public RemoveBackEntry ( ) : void
return void
        public override void RemoveBackEntry()
        {
            Log.Debug("Removing last back entry");

#if NETFX_CORE && !WIN80
            var lastItem = RootFrame.BackStack.LastOrDefault();
            if (lastItem != null)
            {
                RootFrame.BackStack.Remove(lastItem);
            }
#elif NETFX_CORE // WIN80
            throw new NotSupportedInPlatformException();
#elif WINDOWS_PHONE
            RootFrame.RemoveBackEntry();
#elif SILVERLIGHT
            throw new NotSupportedInPlatformException();
#else
            RootFrame.RemoveBackEntry();
#endif
        }