/// <summary> /// Initializes a new instance of the <see cref="ShakespeareanPokemonService"/> class. /// </summary> /// <param name="pokeClient">The poke client.</param> /// <param name="translationClient">The translation client.</param> /// <param name="cache">The cache.</param> public ShakespeareanPokemonService( IPokeApiClient pokeClient, ITranslationClient translationClient, IAppCache cache) { this.pokeClient = pokeClient; this.translationClient = translationClient; this.cache = cache; }
public PokemonProvider(ILoggerFactory loggerFactory, IPokeApiClient pokeApiClient) { _loggerFactory = loggerFactory; _logger = _loggerFactory.CreateLogger <PokemonProvider>(); _pokeApiClient = pokeApiClient; }
public PokemonQuery(ICache <PokemonSpecies> cache, IPokeApiClient pokeApiClient) { _cache = cache; _pokeApiClient = pokeApiClient; }