/// <summary> /// Constructor. /// </summary> public EfficacyService( IPokeAPI pokeApi, PokemonService pokemonService, TypeService typesService, ILogger <EfficacyService> logger) { PokeApi = pokeApi; PokemonService = pokemonService; TypesService = typesService; Logger = logger; }
/// <summary> /// Constructor. /// </summary> public PokemonSpeciesService( IDataStoreSource <PokemonSpeciesEntry> dataStoreSource, IPokeAPI pokeApi, PokemonSpeciesCacheService pokemonSpeciesCacheService, EvolutionChainCacheService evolutionChainCacheService, GenerationCacheService generationCacheService, PokemonCacheService pokemonCacheService, PokemonService pokemonService, VersionGroupService versionGroupService, VersionService versionService, ILogger <PokemonSpeciesService> logger) : base(dataStoreSource, pokeApi, pokemonSpeciesCacheService, logger) { EvolutionChainCacheService = evolutionChainCacheService; GenerationCacheService = generationCacheService; PokemonCacheService = pokemonCacheService; PokemonService = pokemonService; VersionGroupService = versionGroupService; VersionService = versionService; }