mirror of
https://github.com/jie65535/ChineseChess.git
synced 2024-07-27 18:55:00 +08:00
23 lines
467 B
C#
23 lines
467 B
C#
using System;
|
|
using System.Windows.Controls;
|
|
|
|
namespace ChineseChess.GUI.Contracts.Services
|
|
{
|
|
public interface INavigationService
|
|
{
|
|
event EventHandler<string> Navigated;
|
|
|
|
bool CanGoBack { get; }
|
|
|
|
void Initialize(Frame shellFrame);
|
|
|
|
bool NavigateTo(string pageKey, object parameter = null, bool clearNavigation = false);
|
|
|
|
void GoBack();
|
|
|
|
void UnsubscribeNavigation();
|
|
|
|
void CleanNavigation();
|
|
}
|
|
}
|