Esempio n. 1
0
 public TransportSelectionViewModel(NavigationViewModel navigationViewModel)
 {
     RailwayCommand     = new DelegateCommand(() => navigationViewModel.Show(new TrainParametersViewmodel(navigationViewModel)));
     BusStolbtcyCommand = new DelegateCommand(() => navigationViewModel.Show(new BusParametersViewmodel(navigationViewModel, new StolbtcyModel())));
     BusAtlasCommand    = new DelegateCommand(() => navigationViewModel.Show(new BusParametersViewmodel(navigationViewModel, new AtlasBaseBusModel())));
 }