コード例 #1
0
 public FavoritosViewModel(IVargolaService monkeyApiHubService, Tag tag)
 {
     _monkeyHubApiService = monkeyApiHubService;
     _tag = tag;
     Title = _tag.Name;
     Contents = new ObservableCollection<Content>();
     ShowContentCommand = new Command<Content>(ExecuteShowContentCommand);
 }
コード例 #2
0
 public MainViewModel(IVargolaService monkeyHubApiService)
 {
     _monkeyHubApiService = monkeyHubApiService;
     Tags = new ObservableCollection <Tag>();
     ShowCategoriaCommand = new Command <Tag>(ExecuteShowCategoriaCommand);
 }