Example #1
0
 private IObservable <Unit> ExecuteItemSelectedCommand(MasterPageItem item) => HostScreen.Router.Navigate.Execute(GetViewModel(item)).ToSignal();
Example #2
0
 private static IRoutableViewModel GetViewModel(MasterPageItem item)
 {
     return((IRoutableViewModel)Locator.Current.GetService(item.TargetType));
 }