示例#1
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 AbilityService(
     IDataStoreSource <AbilityEntry> dataStoreSource,
     IPokeAPI pokeApi,
     AbilityCacheService abilityCacheService,
     VersionGroupService versionGroupService,
     ILogger <AbilityService> logger) : base(dataStoreSource, pokeApi, abilityCacheService, logger)
 {
     VersionGroupService = versionGroupService;
 }
示例#3
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;
 }
示例#4
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;
 }
 /// <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;
 }
示例#6
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;
 }