mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-02-02 09:08:26 +00:00
feat: Create a new GUI project based on Avalonia. (Powered by Claude)
This commit is contained in:
13
src/ZonyLrcTools.Desktop/Services/INavigationService.cs
Normal file
13
src/ZonyLrcTools.Desktop/Services/INavigationService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using ZonyLrcTools.Desktop.ViewModels;
|
||||
|
||||
namespace ZonyLrcTools.Desktop.Services;
|
||||
|
||||
public interface INavigationService
|
||||
{
|
||||
ViewModelBase? CurrentViewModel { get; }
|
||||
event EventHandler<ViewModelBase>? NavigationChanged;
|
||||
|
||||
TViewModel NavigateTo<TViewModel>() where TViewModel : ViewModelBase;
|
||||
void GoBack();
|
||||
bool CanGoBack { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user