public HuntingConfigurationSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <HuntingConfigurationSheetDto> parser,
     ISpreadsheetEntityMapper <HuntingConfigurationSheetDto, HuntingConfiguration> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
Beispiel #2
0
        public ReadModelUpdateService(
            IReadModelMapper <EntityTypeReadModel> entityTypeMapper,
            IReadModelMapper <ItemStatBoostPokemonReadModel> itemStatBoostPokemonMapper,
            IReadModelMapper <SimpleLearnableMoveReadModel> simpleLearnableMoveMapper,
            IReadModelMapper <MoveReadModel> moveMapper,
            IReadModelMapper <NatureReadModel> natureMapper,
            IReadModelMapper <PokemonVarietyReadModel> pokemonVarietyMapper,
            IReadModelMapper <ItemReadModel> itemMapper,

            IReadModelRepository <EntityTypeReadModel> entityTypeRepository,
            IReadModelRepository <ItemStatBoostPokemonReadModel> itemStatBoostPokemonRepository,
            IReadModelRepository <SimpleLearnableMoveReadModel> simpleLearnableMoveRepository,
            IReadModelRepository <MoveReadModel> moveRepository,
            IReadModelRepository <NatureReadModel> natureRepository,
            IReadModelRepository <PokemonVarietyReadModel> pokemonVarietyRepository,
            IReadModelRepository <ItemReadModel> itemRepository,

            ISpreadsheetImportReporter reporter)
        {
            _entityTypeMapper           = entityTypeMapper;
            _itemStatBoostPokemonMapper = itemStatBoostPokemonMapper;
            _simpleLearnableMoveMapper  = simpleLearnableMoveMapper;
            _moveMapper                     = moveMapper;
            _natureMapper                   = natureMapper;
            _pokemonVarietyMapper           = pokemonVarietyMapper;
            _itemMapper                     = itemMapper;
            _entityTypeRepository           = entityTypeRepository;
            _itemStatBoostPokemonRepository = itemStatBoostPokemonRepository;
            _simpleLearnableMoveRepository  = simpleLearnableMoveRepository;
            _moveRepository                 = moveRepository;
            _natureRepository               = natureRepository;
            _pokemonVarietyRepository       = pokemonVarietyRepository;
            _itemRepository                 = itemRepository;
            _reporter = reporter;
        }
 public MoveDamageClassSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <MoveDamageClassSheetDto> parser,
     ISpreadsheetEntityMapper <MoveDamageClassSheetDto, MoveDamageClass> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public AvailabilitySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <AvailabilitySheetDto> parser,
     ISpreadsheetEntityMapper <AvailabilitySheetDto, PokemonAvailability> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public ElementalTypeSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <ElementalTypeSheetDto> parser,
     ISpreadsheetEntityMapper <ElementalTypeSheetDto, ElementalType> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
Beispiel #6
0
 public ItemStatBoostSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <ItemStatBoostSheetDto> parser,
     ISpreadsheetEntityMapper <ItemStatBoostSheetDto, ItemStatBoostPokemon> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public SeasonTimeOfDaySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <SeasonTimeOfDaySheetDto> parser,
     ISpreadsheetEntityMapper <SeasonTimeOfDaySheetDto, SeasonTimeOfDay> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public PlacedItemSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <PlacedItemSheetDto> parser,
     ISpreadsheetEntityMapper <PlacedItemSheetDto, PlacedItem> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public BagCategorySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <BagCategorySheetDto> parser,
     ISpreadsheetEntityMapper <BagCategorySheetDto, BagCategory> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
Beispiel #10
0
 public LearnableMoveLearnMethodSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <LearnableMoveLearnMethodSheetDto> parser,
     ISpreadsheetEntityMapper <LearnableMoveLearnMethodSheetDto, LearnableMoveLearnMethod> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
 public SpawnSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <SpawnSheetDto> parser,
     ISpreadsheetEntityMapper <SpawnSheetDto, Spawn> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
Beispiel #12
0
 protected SheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <TDto> parser,
     ISpreadsheetEntityMapper <TDto, TEntity> mapper,
     ISpreadsheetImportReporter reporter)
 {
     DbContext = dbContext;
     Reporter  = reporter;
     _parser   = parser;
     _mapper   = mapper;
 }
 public PokemonSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <PokemonSheetDto> parser,
     ISpreadsheetEntityMapper <PokemonSheetDto, PokemonForm> mapper,
     ISpreadsheetImportReporter reporter)
 {
     _dbContext = dbContext;
     _parser    = parser;
     _mapper    = mapper;
     _reporter  = reporter;
 }
Beispiel #14
0
 public GoogleSpreadsheetImportService(
     ILogger <GoogleSpreadsheetImportService> logger,
     IOptions <GoogleSpreadsheetsSettings> settings,
     ApplicationDbContext dbContext,
     ISpreadsheetDataLoader dataLoader,
     ISheetNameHelper sheetNameHelper,
     ISpreadsheetImportReporter reporter,
     IHashListComparator hashListComparator)
 {
     _logger             = logger;
     _settings           = settings;
     _dbContext          = dbContext;
     _dataLoader         = dataLoader;
     _sheetNameHelper    = sheetNameHelper;
     _reporter           = reporter;
     _hashListComparator = hashListComparator;
 }
 public MoveDamageClassMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public SpawnTypeMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public BagCategoryMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
Beispiel #18
0
 protected SpreadsheetEntityMapper(ISpreadsheetImportReporter reporter)
 {
     Reporter = reporter;
 }
 public ElementalTypeMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public PvpTierMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
Beispiel #21
0
 public EventMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public CurrencyMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
Beispiel #23
0
 public AbilityMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public TimeOfDayMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
 public SeasonMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
Beispiel #26
0
 public NatureMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }