public PokedexViewModel(IPokemonRegistry pokemonRegistry, PokeTypeRegistry pokeTypeRegistry, IPokePdfService pokePdfService) { this.pokemonRegistry = pokemonRegistry; this.pokeTypeRegistry = pokeTypeRegistry; this.pokePdfService = pokePdfService; LoadPokemonTask = LoadAsync(); }
public PokedexViewModel(IPokemonRegistry pokemonRegistry, PokeTypeRegistry pokeTypeRegistry, IPokePdfService pokePdfService, IPokemonExcelService pokemonExcelService) { this.pokemonRegistry = pokemonRegistry; this.pokeTypeRegistry = pokeTypeRegistry; this.pokePdfService = pokePdfService; this.pokemonExcelService = pokemonExcelService; PokeTypeErrorVisibility = Visibility.Hidden; LoadPokemonTask = LoadAsync(); }