コード例 #1
0
 public HuntingConfigurationSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <HuntingConfigurationSheetDto> parser,
     ISpreadsheetEntityMapper <HuntingConfigurationSheetDto, HuntingConfiguration> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #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;
        }
コード例 #3
0
 public MoveDamageClassSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <MoveDamageClassSheetDto> parser,
     ISpreadsheetEntityMapper <MoveDamageClassSheetDto, MoveDamageClass> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #4
0
 public AvailabilitySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <AvailabilitySheetDto> parser,
     ISpreadsheetEntityMapper <AvailabilitySheetDto, PokemonAvailability> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #5
0
 public ElementalTypeSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <ElementalTypeSheetDto> parser,
     ISpreadsheetEntityMapper <ElementalTypeSheetDto, ElementalType> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #6
0
 public ItemStatBoostSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <ItemStatBoostSheetDto> parser,
     ISpreadsheetEntityMapper <ItemStatBoostSheetDto, ItemStatBoostPokemon> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #7
0
 public SeasonTimeOfDaySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <SeasonTimeOfDaySheetDto> parser,
     ISpreadsheetEntityMapper <SeasonTimeOfDaySheetDto, SeasonTimeOfDay> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #8
0
 public PlacedItemSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <PlacedItemSheetDto> parser,
     ISpreadsheetEntityMapper <PlacedItemSheetDto, PlacedItem> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #9
0
 public BagCategorySheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <BagCategorySheetDto> parser,
     ISpreadsheetEntityMapper <BagCategorySheetDto, BagCategory> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #10
0
 public LearnableMoveLearnMethodSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <LearnableMoveLearnMethodSheetDto> parser,
     ISpreadsheetEntityMapper <LearnableMoveLearnMethodSheetDto, LearnableMoveLearnMethod> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #11
0
 public SpawnSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <SpawnSheetDto> parser,
     ISpreadsheetEntityMapper <SpawnSheetDto, Spawn> mapper,
     ISpreadsheetImportReporter reporter) : base(dbContext, parser, mapper, reporter)
 {
 }
コード例 #12
0
 protected SheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <TDto> parser,
     ISpreadsheetEntityMapper <TDto, TEntity> mapper,
     ISpreadsheetImportReporter reporter)
 {
     DbContext = dbContext;
     Reporter  = reporter;
     _parser   = parser;
     _mapper   = mapper;
 }
コード例 #13
0
 public PokemonSheetRepository(
     ApplicationDbContext dbContext,
     ISheetRowParser <PokemonSheetDto> parser,
     ISpreadsheetEntityMapper <PokemonSheetDto, PokemonForm> mapper,
     ISpreadsheetImportReporter reporter)
 {
     _dbContext = dbContext;
     _parser    = parser;
     _mapper    = mapper;
     _reporter  = reporter;
 }
コード例 #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;
 }
コード例 #15
0
 public MoveDamageClassMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #16
0
 public SpawnTypeMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #17
0
 public BagCategoryMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #18
0
 protected SpreadsheetEntityMapper(ISpreadsheetImportReporter reporter)
 {
     Reporter = reporter;
 }
コード例 #19
0
 public ElementalTypeMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #20
0
 public PvpTierMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #21
0
 public EventMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #22
0
 public CurrencyMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #23
0
 public AbilityMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #24
0
 public TimeOfDayMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #25
0
 public SeasonMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }
コード例 #26
0
 public NatureMapper(ISpreadsheetImportReporter reporter) : base(reporter)
 {
 }