public CategoriaViewModel(IMonkeyHubAppService monkeyHubApiService, Tag tag) { _monkeyHubApiService = monkeyHubApiService; _tag = tag; Contents = new ObservableCollection <Content>(); ShowContentCommand = new Command <Content>(ExecuteShowContentCommand); Title = "Eventos"; }
public MainViewModel(IMonkeyHubAppService MonkeyHubAppService) { _MonkeyHubAppService = MonkeyHubAppService; Resultados = new ObservableCollection <Tag>(); SearchCommand = new Command(ExecuteSearchCommand, CanExecuteSearchCommand); AboutCommand = new Command(ExecuteAboutCommand); ShowCategoriaCommand = new Command <Tag>(ExecuteShowCategoriaCommand); }