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

RemoveAllBackEntries() public method

Removes all the back entries from the navigation history.
public RemoveAllBackEntries ( ) : void
return void
        public override void RemoveAllBackEntries()
        {
            Log.Debug("Clearing all back entries");

#if NETFX_CORE
            RootFrame.BackStack.Clear();
#elif WINDOWS_PHONE
            while (RootFrame.RemoveBackEntry() != null)
            {
            }
#elif SILVERLIGHT
            throw new NotSupportedInPlatformException();
#else
            while (RootFrame.RemoveBackEntry() != null)
            {
            }
#endif
        }