示例#1
0
        //Constructor
        public SelectAppFeaturePageViewModel(INavigator navigator, ISettingsPageViewModel settingsPageViewModel, ISelectJokeCategoryPageViewModel selectJokeCategoryPageViewModel)
            : base(navigator, settingsPageViewModel)
        {
            //Assignments
            _selectJokeCategoryPageViewModel = selectJokeCategoryPageViewModel;


            //Commands
            Jokes.DisplayNextPageCommand          = new Command(DisplayJokeCategories);
            YodaTranslator.DisplayNextPageCommand = new Command(DisplayYodaTranslator);


            AppFeatures.Add(Jokes);
            AppFeatures.Add(YodaTranslator);
        }