Ejemplo n.º 1
0
 public ShellViewModel(INavigationService navigationService, TestClass @class)
 {
     NavigationCommand = ConfigurableCommand.Create(
         o =>
     {
         var name = o as string;
         navigationService.NavigateTo(name);
     }).Build();
 }
Ejemplo n.º 2
0
 public Page1ViewModel()
 {
     MyCommand = ConfigurableCommand.Create(o => { })
                 .ObserveAll(this)
                 .Build();
 }