예제 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public VersionService(
     IDataStoreSource <VersionEntry> dataStoreSource,
     IPokeAPI pokeApi,
     VersionCacheService versionCacheService,
     ILogger <VersionService> logger) : base(dataStoreSource, pokeApi, versionCacheService, logger)
 {
 }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public PokedexService(
     IDataStoreSource <PokedexEntry> dataStoreSource,
     IPokeAPI pokeApi,
     PokedexCacheService pokedexCacheService,
     ILogger <PokedexService> logger) : base(dataStoreSource, pokeApi, pokedexCacheService, logger)
 {
 }
예제 #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public StatService(
     IDataStoreSource <StatEntry> dataStoreSource,
     IPokeAPI pokeApi,
     StatCacheService statCacheService,
     ILogger <StatService> logger) : base(dataStoreSource, pokeApi, statCacheService, logger)
 {
 }
예제 #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public ItemService(
     IDataStoreSource <ItemEntry> dataStoreSource,
     IPokeAPI pokeApi,
     ItemCacheService generationCacheService,
     ILogger <ItemService> logger) : base(dataStoreSource, pokeApi, generationCacheService, logger)
 {
 }
예제 #5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public PokemonService(
     IDataStoreSource <PokemonEntry> dataStoreSource,
     IPokeAPI pokeApi,
     PokemonCacheService pokemonCacheService,
     AbilityCacheService abilityCacheService,
     TypeCacheService typeCacheService,
     AbilityService abilityService,
     ItemService itemService,
     MachineService machineService,
     MoveLearnMethodService moveLearnMethodService,
     MoveService moveService,
     PokemonFormService pokemonFormService,
     VersionGroupService versionGroupService,
     VersionService versionService,
     ILogger <PokemonService> logger) : base(dataStoreSource, pokeApi, pokemonCacheService, logger)
 {
     AbilityCacheService    = abilityCacheService;
     TypeCacheService       = typeCacheService;
     AbilityService         = abilityService;
     ItemService            = itemService;
     MachineService         = machineService;
     MoveLearnMethodService = moveLearnMethodService;
     MoveService            = moveService;
     PokemonFormService     = pokemonFormService;
     VersionGroupService    = versionGroupService;
     VersionService         = versionService;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public MoveLearnMethodService(
     IDataStoreSource <MoveLearnMethodEntry> dataStoreSource,
     IPokeAPI pokeApi,
     MoveLearnMethodCacheService moveLearnMethodCacheService,
     ILogger <MoveLearnMethodService> logger) : base(dataStoreSource, pokeApi, moveLearnMethodCacheService, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public MoveDamageClassService(
     IDataStoreSource <MoveDamageClassEntry> dataStoreSource,
     IPokeAPI pokeApi,
     MoveDamageClassCacheService moveDamageClassCacheService,
     ILogger <MoveDamageClassService> logger) : base(dataStoreSource, pokeApi, moveDamageClassCacheService, logger)
 {
 }
예제 #8
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public GenerationService(
     IDataStoreSource <GenerationEntry> dataStoreSource,
     IPokeAPI pokeApi,
     GenerationCacheService generationCacheService,
     ILogger <GenerationService> logger) : base(dataStoreSource, pokeApi, generationCacheService, logger)
 {
 }
예제 #9
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public LocationService(
     IDataStoreSource <LocationEntry> dataStoreSource,
     IPokeAPI pokeApi,
     LocationCacheService locationCacheService,
     ILogger <LocationService> logger) : base(dataStoreSource, pokeApi, locationCacheService, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public EvolutionTriggerService(
     IDataStoreSource <EvolutionTriggerEntry> dataStoreSource,
     IPokeAPI pokeApi,
     EvolutionTriggerCacheService generationCacheService,
     ILogger <EvolutionTriggerService> logger) : base(dataStoreSource, pokeApi, generationCacheService, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public MoveTargetService(
     IDataStoreSource <MoveTargetEntry> dataStoreSource,
     IPokeAPI pokeApi,
     MoveTargetCacheService moveTargetCacheService,
     ILogger <MoveTargetService> logger) : base(dataStoreSource, pokeApi, moveTargetCacheService, logger)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public EncounterConditionValueService(
     IDataStoreSource <EncounterConditionValueEntry> dataStoreSource,
     IPokeAPI pokeApi,
     EncounterConditionValueCacheService encounterConditionValueCacheService,
     ILogger <EncounterConditionValueService> logger) : base(dataStoreSource, pokeApi, encounterConditionValueCacheService, logger)
 {
 }
예제 #13
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public NamedApiResourceServiceBase(
     IDataStoreSource <TEntry> dataStoreSource,
     IPokeAPI pokeApi,
     NamedCacheServiceBase <TSource> cacheService,
     ILogger <NamedApiResourceServiceBase <TSource, TEntry> > logger) : base(dataStoreSource, pokeApi, cacheService, logger)
 {
     CacheService = cacheService;
 }
예제 #14
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public LocationAreaService(
     IDataStoreSource <LocationAreaEntry> dataStoreSource,
     IPokeAPI pokeApi,
     LocationAreaCacheService locationAreaCacheService,
     LocationService locationsService,
     ILogger <LocationAreaService> logger) : base(dataStoreSource, pokeApi, locationAreaCacheService, logger)
 {
     LocationsService = locationsService;
 }
예제 #15
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public AbilityService(
     IDataStoreSource <AbilityEntry> dataStoreSource,
     IPokeAPI pokeApi,
     AbilityCacheService abilityCacheService,
     VersionGroupService versionGroupService,
     ILogger <AbilityService> logger) : base(dataStoreSource, pokeApi, abilityCacheService, logger)
 {
     VersionGroupService = versionGroupService;
 }
예제 #16
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public MachineService(
     IDataStoreSource <MachineEntry> dataStoreSource,
     IPokeAPI pokeApi,
     MachineCacheService machineCacheService,
     ItemCacheService itemCacheService,
     ILogger <MachineService> logger) : base(dataStoreSource, pokeApi, machineCacheService, logger)
 {
     ItemCacheService = itemCacheService;
 }
예제 #17
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public TypeService(
     IDataStoreSource <TypeEntry> dataStoreSource,
     IPokeAPI pokeApi,
     TypeCacheService typeCacheService,
     GenerationService generationsService,
     VersionGroupService versionGroupsService,
     ILogger <TypeService> logger) : base(dataStoreSource, pokeApi, typeCacheService, logger)
 {
     GenerationsService   = generationsService;
     VersionGroupsService = versionGroupsService;
 }
예제 #18
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public PokemonFormService(
     IDataStoreSource <PokemonFormEntry> dataStoreSource,
     IPokeAPI pokeApi,
     PokemonFormCacheService pokemonFormCacheService,
     TypeCacheService typeCacheService,
     VersionGroupService versionGroupService,
     ILogger <PokemonFormService> logger) : base(dataStoreSource, pokeApi, pokemonFormCacheService, logger)
 {
     VersionGroupService = versionGroupService;
     TypeCacheService    = typeCacheService;
 }
예제 #19
0
 /// <summary>
 /// Connect to data store and initialise logger.
 /// </summary>
 public ServiceBase(
     IDataStoreSource <TEntry> dataStoreSource,
     IPokeAPI pokeApi,
     CacheServiceBase <TSource> cacheService,
     ILogger <ServiceBase <TSource, TEntry> > logger)
 {
     CacheService    = cacheService;
     DataStoreSource = dataStoreSource;
     PokeApi         = pokeApi;
     Logger          = logger;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public VersionGroupService(
     IDataStoreSource <VersionGroupEntry> dataStoreSource,
     IPokeAPI pokeApi,
     VersionGroupCacheService versionGroupCacheService,
     GenerationService generationsService,
     PokedexService pokedexesService,
     VersionService versionsService,
     ILogger <VersionGroupService> logger) : base(dataStoreSource, pokeApi, versionGroupCacheService, logger)
 {
     GenerationsService = generationsService;
     PokedexesService   = pokedexesService;
     VersionsService    = versionsService;
 }
예제 #21
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public MoveService(
     IDataStoreSource <MoveEntry> dataStoreSource,
     IPokeAPI pokeApi,
     MoveCacheService moveCacheService,
     MachineCacheService machineCacheService,
     MoveCategoryService moveCategoryService,
     MoveDamageClassService moveDamageClassService,
     MoveTargetService moveTargetService,
     TypeService typeService,
     VersionGroupService versionGroupService,
     ILogger <MoveService> logger) : base(dataStoreSource, pokeApi, moveCacheService, logger)
 {
     MachineCacheService    = machineCacheService;
     MoveCategoryService    = moveCategoryService;
     MoveDamageClassService = moveDamageClassService;
     MoveTargetService      = moveTargetService;
     TypeService            = typeService;
     VersionGroupService    = versionGroupService;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public EncountersService(
     IDataStoreSource <EncountersEntry> dataStoreSource,
     IPokeAPI pokeApi,
     PokemonCacheService pokemonCacheService,
     EncounterConditionValueService encounterConditionValueService,
     EncounterMethodService encounterMethodService,
     LocationService locationsService,
     LocationAreaService locationAreasService,
     VersionService versionsService,
     VersionGroupService versionGroupsService,
     ILogger <EncountersService> logger) : base(dataStoreSource, pokeApi, pokemonCacheService, logger)
 {
     EncounterConditionValueService = encounterConditionValueService;
     EncounterMethodService         = encounterMethodService;
     LocationsService     = locationsService;
     LocationAreasService = locationAreasService;
     VersionService       = versionsService;
     VersionGroupsService = versionGroupsService;
 }
 /// <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;
 }
예제 #24
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public EvolutionChainService(
     IDataStoreSource <EvolutionChainEntry> dataStoreSource,
     IPokeAPI pokeApi,
     EvolutionChainCacheService cacheService,
     EvolutionTriggerService evolutionTriggerService,
     ItemService itemService,
     LocationService locationService,
     MoveService moveService,
     PokemonSpeciesCacheService pokemonSpeciesCacheService,
     TypeService typeCacheService,
     PokemonSpeciesService pokemonSpeciesService,
     ILogger <EvolutionChainService> logger) : base(dataStoreSource, pokeApi, cacheService, logger)
 {
     EvolutionTriggerService    = evolutionTriggerService;
     ItemService                = itemService;
     LocationService            = locationService;
     MoveService                = moveService;
     PokemonSpeciesCacheService = pokemonSpeciesCacheService;
     TypeService                = typeCacheService;
     PokemonSpeciesService      = pokemonSpeciesService;
 }