20 lines
401 B
C#
20 lines
401 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FlowScope.UI
|
|
{
|
|
public interface IUIScreenNavigator
|
|
{
|
|
Task<TPanel> PushAsync<TPanel, TViewModel>(
|
|
TViewModel viewModel,
|
|
CancellationToken cancellationToken)
|
|
where TPanel : UIPanelBase<TViewModel>;
|
|
|
|
bool CanGoBack { get; }
|
|
|
|
void GoBack();
|
|
|
|
void Clear();
|
|
}
|
|
}
|