public MyScheduleViewModel(IGroezrockService service, INavigationService navigationService) { _service = service; _navigationService = navigationService; InitData(); }
public AllInfoViewModel(IGroezrockService groezrockService, INavigationService navigationService) { _groezrockService = groezrockService; _navigationService = navigationService; InitData(); InitCommands(); }
public InfoViewModel(IGroezrockService groezrockService, INavigationService navigationService) { _groezrockService = groezrockService; _navigationService = navigationService; _navigationService.RootFrame.Navigated += RootFrame_Navigated; if(IsInDesignMode) { InitDesignData(); } }
public ScheduleViewModel(IGroezrockService groezrockService, INavigationService navigationService) { //if(IsInDesignMode) //{ // _groezrockService = new DesignService(); // InitData(); //} //else //{ //} _groezrockService = groezrockService; _navigationService = navigationService; InitData(); InitCommands(); }
public AllBandsViewModel(IGroezrockService groezrockService) { _groezrockService = groezrockService; InitData(); }
public BandViewModel(INavigationService navigationService, IGroezrockService groezrockService) { _navigationService = navigationService; _groezrockService = groezrockService; if(IsInDesignMode) { CurrentBand = _groezrockService.SelectedBand; } else { InitCommands(); InitEvents(); } }