/// <summary>
 /// Constructor.
 /// </summary>
 public PokemonCacheService(
     INamedCacheSource <Pokemon> cacheSource,
     IPokeAPI pokeApi,
     ILogger <PokemonCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
Пример #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public EncounterMethodCacheService(
     INamedCacheSource <EncounterMethod> cacheSource,
     IPokeAPI pokeApi,
     ILogger <EncounterMethodCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public VersionGroupCacheService(
     INamedCacheSource <VersionGroup> cacheSource,
     IPokeAPI pokeApi,
     ILogger <VersionGroupCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public EncounterConditionValueCacheService(
     INamedCacheSource <EncounterConditionValue> cacheSource,
     IPokeAPI pokeApi,
     ILogger <EncounterConditionValueCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public MoveCacheService(
     INamedCacheSource <Move> cacheSource,
     IPokeAPI pokeApi,
     ILogger <MoveCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
Пример #6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public ItemCacheService(
     INamedCacheSource <Item> cacheSource,
     IPokeAPI pokeApi,
     ILogger <ItemCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
Пример #7
0
 /// <summary>
 /// Connect to cache and initialise logger.
 /// </summary>
 public NamedCacheServiceBase(
     INamedCacheSource <TResource> cacheSource,
     IPokeAPI pokeApi,
     ILogger <NamedCacheServiceBase <TResource> > logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public StatCacheService(
     INamedCacheSource <Stat> cacheSource,
     IPokeAPI pokeApi,
     ILogger <StatCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public LocationAreaCacheService(
     INamedCacheSource <LocationArea> cacheSource,
     IPokeAPI pokeApi,
     ILogger <LocationAreaCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public EvolutionTriggerCacheService(
     INamedCacheSource <EvolutionTrigger> cacheSource,
     IPokeAPI pokeApi,
     ILogger <EvolutionTriggerCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public AbilityCacheService(
     INamedCacheSource <Ability> cacheSource,
     IPokeAPI pokeApi,
     ILogger <AbilityCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public GenerationCacheService(
     INamedCacheSource <Generation> cacheSource,
     IPokeAPI pokeApi,
     ILogger <GenerationCacheService> logger) : base(cacheSource, pokeApi, logger)
 {
 }