예제 #1
0
        public CategoriaViewModel(IMonkeyHubAppService monkeyHubApiService, Tag tag)
        {
            _monkeyHubApiService = monkeyHubApiService;
            _tag = tag;

            Contents           = new ObservableCollection <Content>();
            ShowContentCommand = new Command <Content>(ExecuteShowContentCommand);

            Title = "Eventos";
        }
예제 #2
0
        public MainViewModel(IMonkeyHubAppService MonkeyHubAppService)
        {
            _MonkeyHubAppService = MonkeyHubAppService;

            Resultados = new ObservableCollection <Tag>();

            SearchCommand = new Command(ExecuteSearchCommand, CanExecuteSearchCommand);

            AboutCommand = new Command(ExecuteAboutCommand);

            ShowCategoriaCommand = new Command <Tag>(ExecuteShowCategoriaCommand);
        }