You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
444 B
21 lines
444 B
using System;
|
|
using System.Windows.Input;
|
|
using System.Threading.Tasks;
|
|
using System.Reflection;
|
|
using ViewModel;
|
|
|
|
namespace PocketBook.Applicative_VM
|
|
{
|
|
public class NavigatorVM
|
|
{
|
|
public ICommand Navigateto { get; private set; }
|
|
|
|
public NavigatorVM()
|
|
{
|
|
Navigateto = new Command<string>(execute:async page => {
|
|
await Shell.Current.GoToAsync(page);
|
|
});
|
|
}
|
|
}
|
|
}
|