public void Navigate(NavigationEntry entry)
        {
            if (this.Current != null)
            {
                this.BackStack.Push(this.Current);
            }

            this.Current = entry;

            this.ForwardStack.Clear();
        }
 public NavigationEntry GoForward()
 {
     this.BackStack.Push(this.Current);
     this.Current = this.ForwardStack.Pop();
     return(this.Current);
 }
 public void Clear()
 {
     this.ForwardStack.Clear();
     this.BackStack.Clear();
     this.Current = null;
 }