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
}