public static bool GoBack() { if ((history.Count == 0) || !CanNavigate()) { return(false); } NavigateBackHandler handler = history.Peek(); if (!handler()) { return(false); } if ((history.Count > 0) && (handler == history.Peek())) { history.Pop(); } if (NAVIGATION_DEBUG) { DumpStack(); } return(true); }
public static void PopUnique(NavigateBackHandler handler) {
public static bool BackStackContainsHandler(NavigateBackHandler handler) { return(history.Contains(handler)); }