Skip to content

Commit 7e02288

Browse files
committed
Added INavigationService interface
1 parent 17b7a44 commit 7e02288

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Codebreaker.ViewModels.Contracts.Services;
2+
3+
public interface INavigationService
4+
{
5+
bool CanGoBack { get; }
6+
7+
ValueTask<bool> NavigateToAsync(string key, object? parameter = null, bool clearNavigation = false);
8+
9+
ValueTask<bool> GoBackAsync();
10+
}

0 commit comments

Comments
 (0)