blob: a99d22762718aa4e6be300a88b473703adb5310e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.FSE.Common.Navigation
{
public interface IModularNavigationNavigationManager<T>
{
T CurrentView { get; }
Task<FSEViewModel> GetCurrentViewModel();
bool CanNavigateBack { get; }
Task NavigateTo(T view, bool pushToHistory = true);
Task NavigateTo<TPass>(T view, TPass objectToPass, bool pushToHistory = true);
Task<bool> NavigateBack();
void RaiseOnBeforeNavigatedToFirst();
void RaiseOnNavigatedToFirst();
}
}
|