public MainViewModel(IPokedexService pokedexService) { _pokedexService = pokedexService; FilterItemsCommand = new Command <SelectableItem <string> >((item) => { item.Selected = !item.Selected; FilterItems(currentPaged.Results); }); ChangePageCommand = new Command <int>(async(page) => await ChangePageAsync(page)); DisplayDetailsCommand = new Command <Pokemon>(OpenDetails); }
public PokemonController(IPokedexService pokedexService) { _pokedexService = pokedexService; }
public PokedexController(IPokedexService pokedexService) { this.pokedexService = pokedexService; }
public BattleService(IPokedexService pokedexService) { _pokedexService = pokedexService; }