using System; using System.Windows.Controls; namespace ChineseChess.GUI.Contracts.Services { public interface INavigationService { event EventHandler Navigated; bool CanGoBack { get; } void Initialize(Frame shellFrame); bool NavigateTo(string pageKey, object parameter = null, bool clearNavigation = false); void GoBack(); void UnsubscribeNavigation(); void CleanNavigation(); } }